Vulnerabilities · 2014 · Python
CVE-2014-1912
Python vulnerability
Buffer overflow in the socket.recvfrom_into function in Modules/socketmodule.c in Python 2.5 before 2.7.7, 3.x before 3.3.4, and 3.4.x before 3.4rc1 allows remote attackers to execute arbitrary code via a crafted string.
Affected products
Python, Mac Os X. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- support.apple.com/kb/HT205031 · Vendor Advisory
- bugs.python.org/issue20246 · Patch
- pastebin.com/raw.php?i=GHXSmNEg · Exploit
- www.exploit-db.com/exploits/31875 · Exploit
- www.trustedsec.com/february-2014/python-remote-code-execution-socket-recvfrom_into/ · Exploit
- hg.python.org/cpython/rev/87673659d8f7
- lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- lists.opensuse.org/opensuse-updates/2014-04/msg00035.html
- nvd.nist.gov/vuln/detail/CVE-2014-1912
- cve.org/CVERecord?id=CVE-2014-1912
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.