Description
Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an incorrect buffer size to be used for the strxfrm function, which allows context-dependent attackers to read portions of memory via unknown manipulations that trigger a buffer over-read due to missing null termination.
Exploits (1)
exploitdb
WORKING POC
VERIFIED
by Piotr Engelking · pythonremotelinux
https://www.exploit-db.com/exploits/30018
References (38)
... and 18 more
Scores
EPSS
0.1374
EPSS Percentile
94.3%
Details
CWE
CWE-193
Status
published
Products (2)
python/python
2.4.0
python/python
2.5.0
Published
Apr 16, 2007
Tracked Since
Feb 18, 2026