← Database

CVE-2007-2052

MEDIUM CVSS: 5.0 Published: 2007-04-16 Modified: 2026-06-16

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 Platforms

Python Python

Weakness Type

CWE-193

References