CVE-2014-1912
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
27.229%
chance of exploitation in the next 30 days
higher than 98.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2014-02-24First Exploit-DB entry (EDB-ID 31875)4 days before publication
- 2014-02-28Published by the CNA18:00 UTC
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 31875 | remote | linux | 2014-02-24 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| python python | 2.5.1no fix listed2.5.150no fix listed2.5.2no fix listed2.5.3no fix listed2.5.4no fix listed(+42 more) | not listednot listednot listednot listednot listed |
| apple mac_os_x | through 10.10.4no fix listed | not listed |
References
- http://bugs.python.org/issue20246
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://lists.opensuse.org/opensuse-updates/2014-04/msg00035.html
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html
- http://rhn.redhat.com/errata/RHSA-2015-1064.html
- http://rhn.redhat.com/errata/RHSA-2015-1330.html
- http://www.debian.org/security/2014/dsa-2880
- http://www.ubuntu.com/usn/USN-2125-1
- https://security.gentoo.org/glsa/201503-10
- https://support.apple.com/kb/HT205031
- http://pastebin.com/raw.php?i=GHXSmNEg
- http://www.exploit-db.com/exploits/31875
- https://www.trustedsec.com/february-2014/python-remote-code-execution-socket-recvfrom_into/
- http://hg.python.org/cpython/rev/87673659d8f7
- http://www.openwall.com/lists/oss-security/2014/02/12/16
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/65379
- http://www.securitytracker.com/id/1029831
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2014-1912'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2014-1912'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2014-1912'curl 'https://api.contrastcyber.com/cve_products/CVE-2014-1912'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).