{"id":"JLSEC-2026-1609","aliases":["JLSEC-2026-1609"],"related":["CVE-2021-3177"],"kind":"vulnerability","state":"published","title":"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…","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"jlsec"}],"published":"2026-12-01T15:11:45.475Z","modified":"2026-12-01T15:15:04.434Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P"},{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.8+0"}],"ecosystem":"Julia","package":"Python_jll","purl":"pkg:julia/Python_jll?uuid=93d3a430-8e7c-50da-8e8d-3dfcfb3baf05","source":"jlsec"}],"references":[{"url":"https://bugs.python.org/issue42938","tags":["web"],"sources":["jlsec"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/python/cpython/pull/24239","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/02/msg00013.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BRHOCQYX3QLDGDQGTWQAUUT2GGIZCZUO/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CCFZMVRQUKCBQIG5F2CBVADK63NFSE4A/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FONHJIOZOFD7CD35KZL6SVBUTMBPGZGA/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPE7SMXYUIWPOIZV4DQYXODRXMFX3C5E/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCQTCSP6SCVIYNIRUJC5X7YBVUHPLSC4/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MGSV6BJQLRQ6RKVUXK7JGU7TP4QFGQXC/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MP572OLHMS7MZO4KUPSCIMSZIA5IZZ62/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NODWHDIFBQE5RU5PUWUVE47JOT5VCMJ2/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NQPARTLNSFQVMMQHPNBFOCOZOO3TMQNA/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXSMBHES3ANXXS2RSO5G6Q24BR4B2PWK/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V6XJAULOS5JVB2L67NCKKMJ5NTKZJBSD/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y4KSYYWMGAKOA2JVCQA422OINT6CKQ7O/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YDTZVGSXQ7HR7OCGSUHTRNTMBG43OMKU/","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7GZV74KM72O2PEJN2C4XP3V5Q5MZUOO/","tags":["web"],"sources":["jlsec"]},{"url":"https://news.ycombinator.com/item?id=26185005","tags":["web"],"sources":["jlsec"]},{"url":"https://python-security.readthedocs.io/vuln/ctypes-buffer-overflow-pycarg_repr.html","tags":["web"],"sources":["jlsec"]},{"url":"https://security.gentoo.org/glsa/202101-18","tags":["web"],"sources":["jlsec"]},{"url":"https://security.netapp.com/advisory/ntap-20210226-0003/","tags":["web"],"sources":["jlsec"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["web"],"sources":["jlsec"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["web"],"sources":["jlsec"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["web"],"sources":["jlsec"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1609","url":"https://osv.dev/vulnerability/JLSEC-2026-1609","licence":"CC-BY-4.0","modified":"2026-12-01T15:15:04.434Z"}],"updatedAt":"2026-12-01T15:27:25.119Z"}