CVE Program
CNA-CVE-2025-13837
Out-of-memory when loading Plist
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Python | python | All versions before 3.10.20 (fixed in 3.10.20) From 3.11.0 before 3.11.15 (fixed in 3.11.15) From 3.12.0 before 3.12.13 (fixed in 3.12.13) From 3.13.0 before 3.13.10 (fixed in 3.13.10) From 3.14.0 before 3.14.1 (fixed in 3.14.1) From 3.15.0a1 before 3.15.0a3 (fixed in 3.15.0a3) |
References
- https://www.cve.org/CVERecord?id=CVE-2025-13837
- https://github.com/python/cpython/pull/119343
- https://github.com/python/cpython/issues/119342
- https://github.com/python/cpython/commit/694922cf40aa3a28f898b5f5ee08b71b4922df70
- https://github.com/python/cpython/commit/71fa8eb8233b37f16c88b6e3e583b461b205d1ba
- https://github.com/python/cpython/commit/b64441e4852383645af5b435411a6f849dd1b4cb
- https://mail.python.org/archives/list/[email protected]/thread/2X5IBCJXRQAZ5PSERLHMSJFBHFR3QM2C/
- https://github.com/python/cpython/commit/5a8b19677d818fb41ee55f310233772e15aa1a2b
- https://github.com/python/cpython/commit/568342cfc8f002d9a15f30238f26b9d2e0e79036
- https://github.com/python/cpython/commit/cefee7d118a26ef6cd43db59bb9d98ca9a331111