Skip to content
Fencer Intel
high 7.5

CVE-2014-1912 in the critical feed json

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 befo…

published 12y ago modified 4mo ago also EUVD-2014-1973

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
27.2%
EPSS 27.2% chance of exploitation in 30 days, percentile 98%
public exploits
1
Exploit-DB

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.

Patch / fix

  • python2.7 Debian 11 2.7.6-6

debian advisories DEBIAN-CVE-2014-1912

  • python RHEL 6 2.6.6-64.el6
  • tkinter RHEL 6 2.6.6-64.el6
  • python-libs RHEL 6 2.6.6-64.el6
  • python-test RHEL 6 2.6.6-64.el6
  • python-tools RHEL 6 2.6.6-64.el6
  • python27 RHEL 2 SOFTWARE_COLLECTIONS 1.1-17.el6
  • python27 RHEL 2 SOFTWARE_COLLECTIONS 1.1-20.el7
  • python27-python RHEL 2 SOFTWARE_COLLECTIONS 2.7.8-3.el6

red hat advisories RHSA-2015:1330RHSA-2015:1064

  • python SLE Module for Python 2 15 SP1, SLE Module for Desktop Applications 15 SP1, SLE Module for Desktop Applications 15 +2 more 2.7.17-7.32.2
  • python-base SLE Module for Python 2 15 SP1, SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 2.7.17-7.32.1

suse advisories SUSE-SU-2020:0234-1

  • python-base openSUSE Tumbleweed 2.7.12-1.4
  • python openSUSE Tumbleweed 2.7.18-8.1

opensuse advisories openSUSE-SU-2024:10536-1openSUSE-SU-2024:11202-1

Is CVE-2014-1912 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2014-1912 updated cvss 5.1

python: buffer overflow in socket.recvfrom_into()

  • Red Hat Software Collections python27-python, python33-python, python27-tkinter, python27-python-libs, python27-python-test, python33-python-libs, +4 more
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Enterprise Linux Desktop (v. 6) python 2.6.6-64.el6, tkinter 2.6.6-64.el6, python-libs 2.6.6-64.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) 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-libs 2.6.6-64.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) tkinter 2.6.6-64.el6, python-test 2.6.6-64.el6, python-tools 2.6.6-64.el6 Red Hat Enterprise Linux Server (v. 6) python 2.6.6-64.el6, tkinter 2.6.6-64.el6, python-libs 2.6.6-64.el6 Red Hat Enterprise Linux Server Optional (v. 6) tkinter 2.6.6-64.el6, python-test 2.6.6-64.el6, python-tools 2.6.6-64.el6
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 6) python 2.6.6-64.el6, tkinter 2.6.6-64.el6, python-libs 2.6.6-64.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) python-test 2.6.6-64.el6, python-tools 2.6.6-64.el6
    fixed: vendor fix RHSA-2015:1330
  • 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-runtime 1.1-17.el6, python27-scldevel 1.1-17.el6, python27-tkinter 2.7.8-3.el6, python27-python-pip 1.5.6-5.el6, +6 more 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-runtime 1.1-20.el7, python27-scldevel 1.1-20.el7, python27-tkinter 2.7.8-3.el7, python27-python-pip 1.5.6-5.el7, +6 more 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-runtime 1.1-17.el6, python27-scldevel 1.1-17.el6, python27-tkinter 2.7.8-3.el6, python27-python-pip 1.5.6-5.el6, +6 more 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-runtime 1.1-17.el6, python27-scldevel 1.1-17.el6, python27-tkinter 2.7.8-3.el6, python27-python-pip 1.5.6-5.el6, +6 more 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-runtime 1.1-17.el6, python27-scldevel 1.1-17.el6, python27-tkinter 2.7.8-3.el6, python27-python-pip 1.5.6-5.el6, +6 more 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-runtime 1.1-20.el7, python27-scldevel 1.1-20.el7, python27-tkinter 2.7.8-3.el7, python27-python-pip 1.5.6-5.el7, +6 more
    fixed: vendor fix RHSA-2015:1064
  • Red Hat Enterprise Linux 5 python Red Hat Enterprise Linux 7 python, tkinter, python-libs, python-test, python-tools Red Hat Software Collections rh-python34-python, rh-python34-python-libs, rh-python34-python-test, rh-python34-python-tools, rh-python34-python-tkinter
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-31875)
  2. Published

Exploit prediction

27.23% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-31875 Python - 'socket.recvfrom_into()' Remote Buffer Overflow remote, 2014-02-24
  • pastebin.com http://pastebin.com/raw.php?i=GHXSmNEg referenced PoC, tagged "exploit" by a source, unverified
  • trustedsec.com https://www.trustedsec.com/february-2014/python-remote-code-execution-socket-recvfrom_into/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.