CVE-2025-13837: Python Software Foundation CPython · Vulnerability
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 2.1 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubpython/cpythonpkg:github/python/cpythonOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-13837, organizations should implement the following specific measures: 1) Avoid parsing plist files from untrusted or unauthenticated sources whenever possible. 2) Implement input validation and size checks before passing plist files to the plistlib module, ensuring that size fields are within reasonable bounds to prevent excessive memory allocation. 3) Employ resource limits at the operating system or container level (e.g., cgroups, ulimit) to restrict memory usage of Python processes, mitigating the impact of potential OOM conditions. 4) Monitor Python application logs and system resource usage for signs of abnormal memory consumption or crashes related to plist parsing. 5) Stay updated with Python Software Foundation releases and apply patches promptly once available. 6) Consider sandboxing or isolating processes that handle plist files to contain potential denial of service effects. 7) For developers, review and contribute to the plistlib module code to add robust size validation and error handling to prevent similar issues in future versions. These targeted actions go beyond generic advice by focusing on controlling input size, resource constraints, and proactive monitoring specific to plist parsing.
Description
When loading a plist file, the plistlib module reads data in size specified by the file itself, meaning a malicious file can cause OOM and DoS issues
References
- github.com/python/cpython/pull/119343 (opens in a new tab)
- github.com/python/cpython/issues/119342 (opens in a new tab)
- github.com/python/cpython/commit/694922cf40aa3a28f898b5f5ee08b71b4922df70 (opens in a new tab)
- github.com/python/cpython/commit/71fa8eb8233b37f16c88b6e3e583b461b205d1ba (opens in a new tab)
- github.com/python/cpython/commit/b64441e4852383645af5b435411a6f849dd1b4cb (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/2X5IBCJXRQAZ5PSERLHMSJFBHFR3QM2C/ (opens in a new tab)
- github.com/python/cpython/commit/5a8b19677d818fb41ee55f310233772e15aa1a2b (opens in a new tab)
- github.com/python/cpython/commit/568342cfc8f002d9a15f30238f26b9d2e0e79036 (opens in a new tab)
- github.com/python/cpython/commit/cefee7d118a26ef6cd43db59bb9d98ca9a331111 (opens in a new tab)