CVE-2014-1912Python Memory Corruption
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.
Published Mar 1, 2014 · Updated Aug 11, 2026 · Also known as DEBIAN-CVE-2014-1912, PSF-2014-4
Key Facts
Patch immediately- CVE-2014-1912 is a high-severity vulnerability (CVSS 7.5 v2) affecting Python, Mac OS X (Apple), python2.6 (debian) and 22 more products.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 28% probability of exploitation in the next 30 days.
- Fixed versions are available, including Mac OS X 10.10.4, libpython2_7-1_0 2.7.12-1.4, libpython2_7-1_0 2.7.17-7.32.1.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v2
7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
28%
Higher than 98.0% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
45/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2014-1912
- advisoryRHSA-2015:1064
- advisoryRHSA-2015:1330
- advisoryhttps://bugs.python.org/issue20246
- advisoryhttps://bugzilla.suse.com/1027282
- advisoryhttps://bugzilla.suse.com/1041090
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.
Affected Products
150 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PythonPython | 2.5.1, 2.5.150, 2.5.2, 2.5.3, 2.5.4, 2.5.6, 2.6.1, 2.6.2 | 2.6.6-64.0.1.el6 |
| Mac OS XApple | See advisory | 10.10.4 |
| python2.6debian | See advisory | 2.6.6-8+deb6u1 |
| python2.7debian | See advisory | 2.7.6-6 |
| python26-develamazon | See advisory | 2.6.9-1.43.amzn1 |
Patched Releases
Mac OS X
10.10.4
libpython2_7-1_0
2.7.12-1.4, 2.7.17-7.32.1
libpython2_7-1_0-32bit
2.7.12-1.4
Python
0:2.6.6-64.el6, 2.6.6-64.0.1.el6, 2.7.17-7.32.2, 2.7.18-8.1
python-32bit
2.7.18-8.1
python-base
2.7.12-1.4, 2.7.17-7.32.1
python-base-32bit
2.7.12-1.4
python-curses
2.7.17-7.32.2, 2.7.18-8.1
python-demo
2.7.18-8.1
python-devel
2.6.6-64.0.1.el6, 2.7.12-1.4, 2.7.17-7.32.1
python-gdbm
2.7.17-7.32.2, 2.7.18-8.1
python-idle
2.7.18-8.1
python-libs
2.6.6-64.0.1.el6
python-test
2.6.6-64.0.1.el6
python-tk
2.7.17-7.32.2, 2.7.18-8.1
python-tools
2.6.6-64.0.1.el6
python-xml
2.7.12-1.4, 2.7.17-7.32.1
python2.6
2.6.6-8+deb6u1
python2.7
2.7.3-6+deb7u2, 2.7.6-6
python26
2.6.9-1.43.amzn1
python26-devel
2.6.9-1.43.amzn1
python26-libs
2.6.9-1.43.amzn1
python26-test
2.6.9-1.43.amzn1
python26-tools
2.6.9-1.43.amzn1
python27
0:1.1-17.el6, 0:1.1-20.el7, 1.1-17.el6, 1.1-20.el7, 2.7.5-11.32.amzn1
Timeline
Publicly disclosed
Mar 1, 2014
Last updated
Aug 11, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
- advisorysecurity-tracker.debian.org · CVE-2014-1912
- advisoryRHSA-2015:1064
- advisoryRHSA-2015:1330
- advisorybugs.python.org · issue20246
- advisorybugzilla.suse.com · 1027282
FAQ
Common Questions.
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: Python versions 2.5.1, 2.5.150, 2.5.2, 2.5.3, 2.5.4, 2.5.6, 2.6.1, 2.6.2; Mac OS X (Apple); python2.6 (debian), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Mac OS X 10.10.4, libpython2_7-1_0 2.7.12-1.4, libpython2_7-1_0 2.7.17-7.32.1.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2014-1912 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo