python: buffer overflow in socket.recvfrom_into()
Published Feb 28, 2014
7.5
HIGHCVSS 2.0
EPSS 28.11%
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
No data.
Configuration 1
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.6
- 2.5.150
- 2.6.1
- 2.6.2
- 2.6.3
- 2.6.4
- 2.6.5
- 2.6.6
- 2.6.7
- 2.6.8
- 2.6.2150
- 2.6.6150
- 2.7.1
- 2.7.1
- 2.7.2
- 2.7.3
- 2.7.4
- 2.7.5
- 2.7.6
- 2.7.1150
- 2.7.1150
- 2.7.2150
Configuration 3
- 3.0
- 3.0.1
- 3.1
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.2150
- 3.2
- 3.2
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.2150
- 3.3
- 3.3
- 3.3.0
- 3.3.1
- 3.3.2
- 3.3.3
- 3.4
No data.
Red Hat Enterprise Linux 6
python-0:2.6.6-64.el6
Fixed · RHSA-2015:1330
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-0:1.1-17.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-0:2.7.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-pip-0:1.5.6-5.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-setuptools-0:0.9.8-3.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-simplejson-0:3.2.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
python27-python-wheel-0:0.24.0-2.el6
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-0:1.1-20.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-0:2.7.8-3.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-pip-0:1.5.6-5.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-setuptools-0:0.9.8-5.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-simplejson-0:3.2.0-3.el7
Fixed · RHSA-2015:1064
Red Hat Software Collections for Red Hat Enterprise Linux 7
python27-python-wheel-0:0.24.0-2.el7
Fixed · RHSA-2015:1064
Red Hat Enterprise Linux 5
python
Not affected
Red Hat Enterprise Linux 7
python
Not affected
Red Hat Software Collections
python27-python
Affected
Red Hat Software Collections
python33-python
Will not fix
Red Hat Software Collections
rh-python34-python
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | python-0:2.6.6-64.el6 | Fixed | RHSA-2015:1330 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-0:1.1-17.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-0:2.7.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-pip-0:1.5.6-5.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-setuptools-0:0.9.8-3.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-simplejson-0:3.2.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | python27-python-wheel-0:0.24.0-2.el6 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-0:1.1-20.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-0:2.7.8-3.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-pip-0:1.5.6-5.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-setuptools-0:0.9.8-5.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-simplejson-0:3.2.0-3.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | python27-python-wheel-0:0.24.0-2.el7 | Fixed | RHSA-2015:1064 |
| Red Hat Enterprise Linux 5 | python | Not affected | n/a |
| Red Hat Enterprise Linux 7 | python | Not affected | n/a |
| Red Hat Software Collections | python27-python | Affected | n/a |
| Red Hat Software Collections | python33-python | Will not fix | n/a |
| Red Hat Software Collections | rh-python34-python | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of python as shipped with Red Hat Enterprise Linux 5 as they did not include the vulnerable socket.recvfrom_into() function. This issue was also corrected in the version of python shipped with Red Hat Enterprise Linux 7.0 prior to release. The Red Hat Security Response Team has rated this issue as having Moderate security impact. A future update may address this issue in Red Hat Software Collections. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (30 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 28.11% (0.28112) | 98.06th | v5 (v2026.06.15) |
| Jul 31, 2026 | 28.32% (0.28319) | 97.93th | v5 (v2026.06.15) |
| Jul 17, 2026 | 23.05% (0.23047) | 97.50th | v5 (v2026.06.15) |
| Jun 15, 2026 | 28.11% (0.28112) | 97.85th | v5 (v2026.06.15) |
| May 1, 2026 | 34.00% (0.33997) | 96.99th | v4 (v2025.03.14) |
| Feb 21, 2026 | 23.58% (0.23583) | 95.87th | v4 (v2025.03.14) |
| Feb 17, 2026 | 26.23% (0.26228) | 96.17th | v4 (v2025.03.14) |
| Dec 28, 2025 | 33.63% (0.33632) | 96.78th | v4 (v2025.03.14) |
| Dec 27, 2025 | 26.35% (0.26350) | 96.16th | v4 (v2025.03.14) |
| Dec 18, 2025 | 34.19% (0.34191) | 96.81th | v4 (v2025.03.14) |
| Oct 28, 2025 | 31.44% (0.31435) | 96.55th | v4 (v2025.03.14) |
| Oct 27, 2025 | 24.41% (0.24412) | 95.87th | v4 (v2025.03.14) |
| Oct 1, 2025 | 32.07% (0.32068) | 96.69th | v4 (v2025.03.14) |
| Aug 8, 2025 | 24.97% (0.24967) | 95.93th | v4 (v2025.03.14) |
| Jul 30, 2025 | 30.62% (0.30617) | 96.53th | v4 (v2025.03.14) |
| Apr 3, 2025 | 25.71% (0.25714) | 95.80th | v4 (v2025.03.14) |
| Mar 30, 2025 | 17.26% (0.17259) | 94.50th | v4 (v2025.03.14) |
| Mar 29, 2025 | 19.87% (0.19868) | 92.59th | v4 (v2025.03.14) |
| Mar 17, 2025 | 17.26% (0.17259) | 94.52th | v4 (v2025.03.14) |
| Dec 17, 2024 | 38.99% (0.38991) | 97.26th | v3 (v2023.03.01) |
| Sep 15, 2024 | 60.37% (0.60374) | 97.86th | v3 (v2023.03.01) |
| Apr 16, 2024 | 52.98% (0.52975) | 97.56th | v3 (v2023.03.01) |
| Feb 27, 2024 | 49.83% (0.49827) | 97.42th | v3 (v2023.03.01) |
| Nov 25, 2023 | 45.98% (0.45979) | 97.06th | v3 (v2023.03.01) |
| Aug 25, 2023 | 44.15% (0.44148) | 96.89th | v3 (v2023.03.01) |
| Jul 5, 2023 | 44.00% (0.43998) | 96.86th | v3 (v2023.03.01) |
| Mar 7, 2023 | 36.37% (0.36372) | 96.48th | v3 (v2023.03.01) |
| Mar 6, 2023 | 47.89% (0.47888) | 98.59th | v2 (v2022.01.01) |
| May 21, 2022 | 47.89% (0.47888) | 98.42th | v2 (v2022.01.01) |
| Feb 4, 2022 | 42.41% (0.42409) | 97.60th | v2 (v2022.01.01) |
References (23)
- http://bugs.python.org/issue20246 x_refsource_CONFIRMPatch
- http://hg.python.org/cpython/rev/87673659d8f7 x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-updates/2014-04/msg00035.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00008.html vendor-advisoryx_refsource_SUSE
- http://pastebin.com/raw.php?i=GHXSmNEg x_refsource_MISCExploit
- http://rhn.redhat.com/errata/RHSA-2015-1064.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1330.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2014/dsa-2880 vendor-advisoryx_refsource_DEBIAN
- http://www.exploit-db.com/exploits/31875 exploitx_refsource_EXPLOIT-DB
- http://www.openwall.com/lists/oss-security/2014/02/12/16 mailing-listx_refsource_MLIST
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/65379 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1029831 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-2125-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2014-1912 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1062370 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2014-1912
- https://security.gentoo.org/glsa/201503-10 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/kb/HT205031 x_refsource_CONFIRMVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2014-1912
- https://www.trustedsec.com/february-2014/python-remote-code-execution-socket-recvfrom_into/ x_refsource_MISCExploit
Change history (0)
No recorded changes yet.