CWE
119
Advisory Published
Updated

REDHAT-BUG-1918168: Buffer Overflow

First published: Wed Jan 20 2021(Updated: )

Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input. Reference: <a href="https://bugs.python.org/issue42938">https://bugs.python.org/issue42938</a> <a href="https://github.com/python/cpython/pull/24239">https://github.com/python/cpython/pull/24239</a>

Affected SoftwareAffected VersionHow to fix
Python Babel Localedata<=3.9.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1918168?

    The severity of REDHAT-BUG-1918168 is critical due to the potential for remote code execution.

  • How do I fix REDHAT-BUG-1918168?

    To fix REDHAT-BUG-1918168, upgrade Python to version 3.9.2 or later.

  • What causes the vulnerability in REDHAT-BUG-1918168?

    The vulnerability in REDHAT-BUG-1918168 is caused by a buffer overflow in the PyCArg_repr function when handling untrusted floating-point input.

  • Which versions of Python are affected by REDHAT-BUG-1918168?

    REDHAT-BUG-1918168 affects Python versions 3.9.1 and earlier.

  • Can REDHAT-BUG-1918168 be exploited remotely?

    Yes, REDHAT-BUG-1918168 can be exploited remotely if the application accepts untrusted floating-point numbers as input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203