JLSEC-2026-1609: Buffer Overflow

Published Dec 1, 2026
·
Updated

Python 3.x through 3.9.1 has a buffer overflow in PyCArgrepr in ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300 argument to cdouble.fromparam. This occurs because sprintf is used unsafely.

Affected Software

1 affected componentFixes available
julia/python_jll<3.8.8+0
3.8.8+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/Python_jll to a version that resolves this vulnerability.

    Fixed in 3.8.8+0

Event History

Dec 1, 2026
Advisory Published
via OSV·03:11 PM
Data Sourced
via OSV·03:11 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are realistically exposed to remote code execution?

Python applications are exposed when they accept attacker-controlled floating-point input and pass it through ctypes in a path that reaches c_double.from_param or the affected PyCArg_repr code. The issue is demonstrated with a 1e300 argument.

2

Does exploitation require authentication or local access?

No. The provided vector indicates network attack access, low attack complexity, and no authentication requirement. Exploitation still depends on the application accepting untrusted floating-point values in the affected ctypes usage path.

3

How can I determine whether my deployment is affected?

Check whether the bundled Python runtime is Python 3.x through 3.9.1 and whether the application uses ctypes with untrusted floating-point inputs, particularly c_double.from_param. The affected component is _ctypes/callproc.c.

4

What can be done if the runtime cannot be updated immediately?

Prevent untrusted floating-point values from reaching ctypes conversion paths that invoke c_double.from_param, and reject or constrain unusually large floating-point inputs such as 1e300.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203