CVEfocus › CVE database › CVE-2004-1125

CVE-2004-1125

EPSS 6.6% (higher than 94% of CVEs)Published 2004-12-22Updated 2024-08-08Assigner: mitre

Buffer 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.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

30Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14cupsFixed1.1.22-2DEBIAN-CVE-2004-1125
Debian 14xpdfFixed3.00-11DEBIAN-CVE-2004-1125
Debian 13cupsFixed1.1.22-2DEBIAN-CVE-2004-1125
Debian 13xpdfFixed3.00-11DEBIAN-CVE-2004-1125
Debian 12cupsFixed1.1.22-2DEBIAN-CVE-2004-1125
Debian 12xpdfFixed3.00-11DEBIAN-CVE-2004-1125
Red Hat Enterprise Linux 4cupsFixed1:1.1.22-0.rc1.9.6RHSA-2005:053
Red Hat Enterprise Linux 4cups-develFixed1:1.1.22-0.rc1.9.6RHSA-2005:053
Red Hat Enterprise Linux 4cups-libsFixed1:1.1.22-0.rc1.9.6RHSA-2005:053
Red Hat Enterprise Linux 4gpdfFixed0:2.8.2-4.3RHSA-2005:057
Red Hat Enterprise Linux 4kdegraphicsFixed7:3.3.1-3.3RHSA-2005:066
Red Hat Enterprise Linux 4kdegraphics-develFixed7:3.3.1-3.3RHSA-2005:066
Red Hat Enterprise Linux 4tetexFixed0:2.0.2-22.EL4.4RHSA-2005:026
Red Hat Enterprise Linux 4tetex-afmFixed0:2.0.2-22.EL4.4RHSA-2005:026
Red Hat Enterprise Linux 4tetex-docFixed0:2.0.2-22.EL4.4RHSA-2005:026
Red Hat Enterprise Linux 4tetex-dvipsFixed0:2.0.2-22.EL4.4RHSA-2005:026
Red Hat Enterprise Linux 4tetex-fontsFixed0:2.0.2-22.EL4.4RHSA-2005:026
Red Hat Enterprise Linux 4tetex-latexFixed0:2.0.2-22.EL4.4RHSA-2005:026
Red Hat Enterprise Linux 4tetex-xdviFixed0:2.0.2-22.EL4.4RHSA-2005:026
Red Hat Enterprise Linux 4xpdfFixed1:3.00-11.5RHSA-2005:034
Red Hat Enterprise Linux 3cupsFixed1:1.1.17-13.3.22RHSA-2005:013
Red Hat Enterprise Linux 3cups-develFixed1:1.1.17-13.3.22RHSA-2005:013
Red Hat Enterprise Linux 3cups-libsFixed1:1.1.17-13.3.22RHSA-2005:013
Red Hat Enterprise Linux 3tetexFixed0:1.0.7-67.7RHSA-2005:354
Red Hat Enterprise Linux 3tetex-afmFixed0:1.0.7-67.7RHSA-2005:354
Red Hat Enterprise Linux 3tetex-dvipsFixed0:1.0.7-67.7RHSA-2005:354
Red Hat Enterprise Linux 3tetex-fontsFixed0:1.0.7-67.7RHSA-2005:354
Red Hat Enterprise Linux 3tetex-latexFixed0:1.0.7-67.7RHSA-2005:354
Red Hat Enterprise Linux 3tetex-xdviFixed0:1.0.7-67.7RHSA-2005:354
Red Hat Enterprise Linux 3xpdfFixed1:2.02-9.4RHSA-2005:018

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.