CVE-2005-2491

NameCVE-2005-2491
DescriptionInteger overflow in pcre_compile.c in Perl Compatible Regular Expressions (PCRE) before 6.2, as used in multiple products such as Python, Ethereal, and PHP, allows attackers to execute arbitrary code via quantifier values in regular expressions, which leads to a heap-based buffer overflow.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-800-1, DSA-817-1, DSA-819-1, DSA-821-1, DTSA-10-1
Debian Bugs324531, 326628, 326898

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnumeric (PTS)jessie1.12.18-2fixed
stretch1.12.32-1fixed
buster1.12.44-1fixed
bullseye1.12.48-1fixed
bookworm1.12.55-1fixed
sid, trixie1.12.57-1fixed
goffice (PTS)jessie0.10.18-1fixed
stretch0.10.32-1.1fixed
buster0.10.44-1fixed
bullseye0.10.48-1fixed
bookworm0.10.55-1fixed
sid, trixie0.10.57-2fixed
pcre3 (PTS)jessie2:8.35-3.3+deb8u4fixed
stretch2:8.39-3fixed
buster2:8.39-12fixed
bullseye2:8.39-13fixed
bookworm2:8.39-15fixed
sid2:8.39-15.1fixed
vfu (PTS)jessie, stretch4.10-1.1fixed
buster4.16+repack-1fixed
bullseye4.21-1fixed
bookworm5.07-1fixed
sid, trixie5.09-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnumericsource(unstable)1.5.1-1unimportant326628, 326898
gofficesource(unstable)0.1.0-3unimportant326898
pcre3sourcewoody3.4-1.1woody1DSA-800-1
pcre3sourcesarge4.5-1.2sarge1DSA-800-1
pcre3sourceetch6.3-0.1etch1highDTSA-10-1
pcre3source(unstable)6.3-1medium324531
python2.1sourcewoody2.1.3-3.4mediumDSA-819-1
python2.1sourcesarge2.1.3dfsg-1sarge1mediumDSA-819-1
python2.1source(unstable)2.1.3dfsg-3medium
python2.2sourcewoody2.2.1-4.8mediumDSA-817-1324531
python2.2sourcesarge2.2.3dfsg-2sarge1mediumDSA-817-1324531
python2.2source(unstable)2.2.3dfsg-4medium
python2.3sourcesarge2.3.5-3sarge1mediumDSA-821-1
python2.3source(unstable)2.3.5-8medium
vfusource(unstable)(not affected)

Notes

- vfu <not-affected> (does not include the vulnerable part of pcre)
gnumeric/goffice includes one as well; not exploitable as affected code not used

Search for package or bug name: Reporting problems