CVE-2007-5392

NameCVE-2007-5392
DescriptionInteger overflow in the DCTStream::reset method in xpdf/Stream.cc in Xpdf 3.02p11 allows remote attackers to execute arbitrary code via a crafted PDF file, resulting in 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-1480-1, DSA-1509-1, DSA-1537-1, DTSA-85-1, DTSA-86-1
Debian Bugs450628, 450629, 450630, 450631

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cups (PTS)buster2.2.10-6+deb10u6fixed
buster (security)2.2.10-6+deb10u9fixed
bullseye2.3.3op2-3+deb11u6fixed
bullseye (security)2.3.3op2-3+deb11u2fixed
bookworm2.4.2-3+deb12u5fixed
trixie2.4.7-1fixed
sid2.4.7-1.2fixed
libextractor (PTS)buster1:1.8-2+deb10u1fixed
bullseye1:1.11-2fixed
bookworm1:1.11-7fixed
sid, trixie1:1.13-3fixed
poppler (PTS)buster0.71.0-5fixed
buster (security)0.71.0-5+deb10u3fixed
bullseye (security), bullseye20.09.0-3.1+deb11u1fixed
trixie, bookworm22.12.0-2fixed
sid22.12.0-2.2fixed
xpdf (PTS)buster3.04-13fixed
bullseye3.04+git20210103-3fixed
bookworm3.04+git20220601-1fixed
sid, trixie3.04+git20240202-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cupssource(unstable)1.1.22-7
cupsyssource(unstable)(not affected)
gpdfsource(unstable)(unfixed)
kdegraphicssourceetch(not affected)
kdegraphicssourcelenny4:3.5.7-4+lenny1DTSA-85-1
kdegraphicssource(unstable)4:3.5.8-2medium450630
kofficesourceetch1:1.6.1-2etch2DSA-1509-1
kofficesourcelenny1:1.6.3-3+lenny1DTSA-86-1
kofficesource(unstable)1:1.6.3-4medium450631
libextractorsource(unstable)0.5.12-1
pdftohtmlsourceetch0.36-13etch1
pdftohtmlsource(unstable)(unfixed)
popplersourceetch0.4.5-5.1etch2DSA-1480-1
popplersource(unstable)0.6.2-1medium450628
swftoolssource(unstable)0.9.2+ds1-2
tetex-binsource(unstable)3.0-12
xpdfsourceetch3.01-9.1+etch2DSA-1537-1
xpdfsource(unstable)3.02-1.3medium450629

Notes

[etch] - kdegraphics <not-affected> (Vulnerable code not used)
pdftex links to poppler since 3.0-12, thus marking as fixed
- cupsys <not-affected> (we use xpdf-utils in sarge and poppler-utils since etch to not embedd this code)
cups uses xpdf-utils and poppler-utils
libextractor uses internal pdf decoder since 0.5.12-1, thus marking as fixed

Search for package or bug name: Reporting problems