JLSEC-2026-1609
JSON

9.8critical

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 Pytho…

Severity
9.8critical CVSS:3.1 by Julia Security Advisories
Published
Last changed

Description

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, as demonstrated by a 1e300 argument to c_double.from_param. This occurs because sprintf is used unsafely.

Affected

Product or packageVersionsReported by
Python_jll (Julia)before 3.8.8+0Julia Security Advisories

All scores

Julia Security AdvisoriesNot scored CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P
Julia Security Advisories9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

https://bugs.python.org/issue42938web
https://cert-portal.siemens.com/productcert/html/ssa-398330.htmlweb
https://github.com/python/cpython/pull/24239web
https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3Eweb
https://lists.debian.org/debian-lts-announce/2021/04/msg00005.htmlweb
https://lists.debian.org/debian-lts-announce/2022/02/msg00013.htmlweb
https://lists.debian.org/debian-lts-announce/2023/05/msg00024.htmlweb
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRHOCQYX3QLDGDQGTWQAUUT2GGIZCZUO/web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CCFZMVRQUKCBQIG5F2CBVADK63NFSE4A/web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FONHJIOZOFD7CD35KZL6SVBUTMBPGZGA/web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPE7SMXYUIWPOIZV4DQYXODRXMFX3C5E/web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCQTCSP6SCVIYNIRUJC5X7YBVUHPLSC4/web

Related

Sources

SourceRecordLicence
Julia Security AdvisoriesJLSEC-2026-1609 changed 2026-12-01CC-BY-4.0