Skip to content

CVE-2007-2052 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....

MediumCVSS 5.0 EPSS 14.1%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
python = 2.4.0 No fix listed
python = 2.5.0 No fix listed

References