Buffer overflow in the socket.recvfrom_into function in Modules/socketmodule.c in Python…
Priority MEDIUM 55CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Partial Red Hat: 14 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.27229 98th percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD and the CNA
Fix Partial Red Hat: 2 advisoriesRed Hat: 14 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 52
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:* | 2.5.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:* | 2.5.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:* | 2.5.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:* | 2.5.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.5.6:*:*:*:*:*:*:* | 2.5.6 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.5.150:*:*:*:*:*:*:* | 2.5.150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* | 2.6.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* | 2.6.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* | 2.6.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* | 2.6.4 | Vulnerable | python-pillow |
- cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:* Versions 2.5.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:* Versions 2.5.2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:* Versions 2.5.3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:* Versions 2.5.4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.5.6:*:*:*:*:*:*:* Versions 2.5.6 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.5.150:*:*:*:*:*:*:* Versions 2.5.150 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* Versions 2.6.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* Versions 2.6.2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* Versions 2.6.3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* Versions 2.6.4 Vulnerable ·python-pillow
Show 42 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* | 2.6.5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* | 2.6.6 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:* | 2.6.7 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:* | 2.6.8 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:* | 2.6.2150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:* | 2.6.6150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* | 2.7.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* | 2.7.1 rc1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* | 2.7.2 rc1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* | 2.7.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.4:*:*:*:*:*:*:* | 2.7.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.5:*:*:*:*:*:*:* | 2.7.5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.6:*:*:*:*:*:*:* | 2.7.6 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* | 2.7.1150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:* | 2.7.1150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* | 2.7.2150 | Vulnerable | python-pillow |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | up to 10.10.4 | Vulnerable | Apple |
| cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* | 3.0.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* | 3.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* | 3.1.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* | 3.1.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* | 3.1.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* | 3.1.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* | 3.1.5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* | 3.1.2150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* | 3.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* | 3.2 alpha | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* | 3.2.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* | 3.2.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* | 3.2.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* | 3.2.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* | 3.2.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* | 3.2.5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* | 3.2.2150 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* | 3.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* | 3.3 beta2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* | 3.3.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* | 3.3.1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* | 3.3.2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:* | 3.3.3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.4:alpha1:*:*:*:*:*:* | 3.4 alpha1 | Vulnerable | python-pillow |
- cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* Versions 2.6.5 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* Versions 2.6.6 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.7:*:*:*:*:*:*:* Versions 2.6.7 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.8:*:*:*:*:*:*:* Versions 2.6.8 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.2150:*:*:*:*:*:*:* Versions 2.6.2150 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.6.6150:*:*:*:*:*:*:* Versions 2.6.6150 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* Versions 2.7.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* Versions 2.7.1 rc1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* Versions 2.7.2 rc1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.3:*:*:*:*:*:*:* Versions 2.7.3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.4:*:*:*:*:*:*:* Versions 2.7.4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.5:*:*:*:*:*:*:* Versions 2.7.5 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.6:*:*:*:*:*:*:* Versions 2.7.6 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:*:* Versions 2.7.1150 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.1150:*:*:*:*:*:x64:* Versions 2.7.1150 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:2.7.2150:*:*:*:*:*:*:* Versions 2.7.2150 Vulnerable ·python-pillow
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions up to 10.10.4 Vulnerable ·Apple
- cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* Versions 3.0.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* Versions 3.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* Versions 3.1.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* Versions 3.1.2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* Versions 3.1.3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* Versions 3.1.4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* Versions 3.1.5 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* Versions 3.1.2150 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* Versions 3.2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* Versions 3.2 alpha Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* Versions 3.2.0 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* Versions 3.2.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* Versions 3.2.2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* Versions 3.2.3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* Versions 3.2.4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* Versions 3.2.5 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* Versions 3.2.2150 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* Versions 3.3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* Versions 3.3 beta2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* Versions 3.3.0 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* Versions 3.3.1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* Versions 3.3.2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.3.3:*:*:*:*:*:*:* Versions 3.3.3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.4:alpha1:*:*:*:*:*:* Versions 3.4 alpha1 Vulnerable ·python-pillow
Remediation
Red Hat 2 advisories
- RHSA-2015:1330 Released 2015-07-20 · Red Hat rating Moderatepython security, bug fix, and enhancement update
- Red Hat Enterprise Linux Desktop (v. 6) python-2.6.6-64.el6, python-libs-2.6.6-64.el6, tkinter-2.6.6-64.el6
- Red Hat Enterprise Linux Desktop Optional (v. 6) python-devel-2.6.6-64.el6, python-test-2.6.6-64.el6, python-tools-2.6.6-64.el6
- Red Hat Enterprise Linux HPC Node (v. 6) python-2.6.6-64.el6, python-devel-2.6.6-64.el6, python-libs-2.6.6-64.el6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) python-test-2.6.6-64.el6, python-tools-2.6.6-64.el6, tkinter-2.6.6-64.el6
- Red Hat Enterprise Linux Server (v. 6) python-2.6.6-64.el6, python-devel-2.6.6-64.el6, python-devel-2.6.6-64.el6.ppc +3
- Red Hat Enterprise Linux Server Optional (v. 6) python-test-2.6.6-64.el6, python-tools-2.6.6-64.el6, tkinter-2.6.6-64.el6
- Red Hat Enterprise Linux Workstation (v. 6) python-2.6.6-64.el6, python-devel-2.6.6-64.el6, python-libs-2.6.6-64.el6 +1
- Red Hat Enterprise Linux Workstation Optional (v. 6) python-test-2.6.6-64.el6, python-tools-2.6.6-64.el6
- RHSA-2015:1064 Released 2015-06-04 · Red Hat rating Moderatepython27 security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-1.1-17.el6, python27-python-2.7.8-3.el6, python27-python-debug-2.7.8-3.el6 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-1.1-20.el7, python27-python-2.7.8-3.el7, python27-python-debug-2.7.8-3.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) python27-1.1-17.el6, python27-python-2.7.8-3.el6, python27-python-debug-2.7.8-3.el6 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) python27-1.1-17.el6, python27-python-2.7.8-3.el6, python27-python-debug-2.7.8-3.el6 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-1.1-17.el6, python27-python-2.7.8-3.el6, python27-python-debug-2.7.8-3.el6 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-1.1-20.el7, python27-python-2.7.8-3.el7, python27-python-debug-2.7.8-3.el7 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Software Collections | Affected | No fix yet |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:1330 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:1064 |
Not affected: 3 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 7
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2014-1912
- 2026-10-03 Alias added: GHSA-jhx7-j4rm-xpm8
References
Exploit 3
Advisory 9
Sources
- CVE-2014-1912 · CVE Program
- CVE-2014-1912 · NVD
- FIRST EPSS
- GHSA-jhx7-j4rm-xpm8 · GitHub Advisory Database · CC BY 4.0
- CVE-2014-1912 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences