CVE-2004-1125

NameCVE-2004-1125
DescriptionBuffer overflow in the Gfx::doImage function in Gfx.cc for xpdf 3.00, and other products that share code such as tetex-bin and kpdf in KDE 3.2.x to 3.2.3 and 3.3.x to 3.3.2, allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted PDF file that causes the boundaries of a maskColors array to be exceeded.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-619-1, DSA-621-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cups (PTS)bullseye2.3.3op2-3+deb11u8fixed
bullseye (security)2.3.3op2-3+deb11u9fixed
bookworm, bookworm (security)2.4.2-3+deb12u8fixed
sid, trixie2.4.10-2fixed
xpdf (PTS)bullseye3.04+git20210103-3fixed
bookworm3.04+git20220601-1fixed
sid, trixie3.04+git20240613-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cupssource(unstable)1.1.22-2
cupsyssourcewoody1.1.14-5woody11DSA-621-1
cupsyssource(unstable)1.1.22-2
gpdfsource(unstable)2.8.2-1
kofficesource(unstable)1:1.3.5-1
tetex-binsource(unstable)2.0.2-25
xpdfsourcewoody1.00-3.3DSA-619-1
xpdfsource(unstable)3.00-11

Search for package or bug name: Reporting problems