CVE-2004-1125 json
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…
published 2004-12-22 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1123
- cvss
- 9.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.6%
- EPSS 6.6% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- cups Debian 14, Debian 13, Debian 12 1.1.22-2
- xpdf Debian 14, Debian 13, Debian 12 3.00-11
debian advisories DEBIAN-CVE-2004-1125
- tetex RHEL 4 2.0.2-22.EL4.4
- tetex-afm RHEL 4 2.0.2-22.EL4.4
- tetex-xdvi RHEL 4 2.0.2-22.EL4.4
- tetex-dvips RHEL 4 2.0.2-22.EL4.4
- tetex-fonts RHEL 4 2.0.2-22.EL4.4
- tetex-latex RHEL 4 2.0.2-22.EL4.4
- kdegraphics RHEL 4 7:3.3.1-3.3
- gpdf RHEL 4 2.8.2-4.3
red hat advisories RHSA-2005:026RHSA-2005:066RHSA-2005:057RHSA-2005:053RHSA-2005:034RHSA-2005:354
- securityfocus.com/bid/12070 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-1125 updated
security flaw
-
Red Hat Desktop version 3 xpdf 2.02-9.4, tetex 1.0.7-67.7, cups 1.1.17-13.3.22, tetex-afm 1.0.7-67.7, tetex-xdvi 1.0.7-67.7, tetex-dvips 1.0.7-67.7, +3 more Red Hat Enterprise Linux AS version 3 xpdf 2.02-9.4, tetex 1.0.7-67.7, cups 1.1.17-13.3.22, tetex-afm 1.0.7-67.7, tetex-xdvi 1.0.7-67.7, tetex-dvips 1.0.7-67.7, +3 morefixed: vendor fix RHSA-2005:013
-
Red Hat Enterprise Linux AS version 4 gpdf 2.8.2-4.3, xpdf 3.00-11.5, tetex 2.0.2-22.EL4.4, cups 1.1.22-0.rc1.9.6, kdegraphics 3.3.1-3.3, tetex-afm 2.0.2-22.EL4.4, +5 more Red Hat Enterprise Linux Desktop version 4 gpdf 2.8.2-4.3, xpdf 3.00-11.5, tetex 2.0.2-22.EL4.4, cups 1.1.22-0.rc1.9.6, kdegraphics 3.3.1-3.3, tetex-afm 2.0.2-22.EL4.4, +5 morefixed: vendor fix RHSA-2005:053
-
Red Hat Enterprise Linux ES version 3 xpdf 2.02-9.4, tetex 1.0.7-67.7, cups 1.1.17-13.3.22, tetex-afm 1.0.7-67.7, tetex-xdvi 1.0.7-67.7, tetex-dvips 1.0.7-67.7, +3 morefixed: vendor fix RHSA-2005:013
-
Red Hat Enterprise Linux ES version 4 gpdf 2.8.2-4.3, xpdf 3.00-11.5, tetex 2.0.2-22.EL4.4, cups 1.1.22-0.rc1.9.6, kdegraphics 3.3.1-3.3, tetex-afm 2.0.2-22.EL4.4, +5 morefixed: vendor fix RHSA-2005:053
-
Red Hat Enterprise Linux WS version 3 xpdf 2.02-9.4, tetex 1.0.7-67.7, cups 1.1.17-13.3.22, tetex-afm 1.0.7-67.7, tetex-xdvi 1.0.7-67.7, tetex-dvips 1.0.7-67.7, +3 morefixed: vendor fix RHSA-2005:013
-
Red Hat Enterprise Linux WS version 4 gpdf 2.8.2-4.3, xpdf 3.00-11.5, tetex 2.0.2-22.EL4.4, cups 1.1.22-0.rc1.9.6, kdegraphics 3.3.1-3.3, tetex-afm 2.0.2-22.EL4.4, +5 morefixed: vendor fix RHSA-2005:053
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.58% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
securityfocus.com
/bid/12070
vdb-entry, patch, vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-013.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-066.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-034.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-018.html
vendor-advisory
-
bugzilla.fedora.us
/show_bug.cgi?id=2352
vendor-advisory
-
bugzilla.fedora.us
/show_bug.cgi?id=2353
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200501-17.xml
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-026.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-053.html
vendor-advisory
-
usn.ubuntu.com
/50-1/
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200501-13.xml
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200412-25.xml
vendor-advisory
-
novell.com
/linux/security/advisories/2005_01_sr.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-354.html
vendor-advisory
-
distro.conectiva.com.br
/atualizacoes/?id=a&anuncio=000921
vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-057.html
vendor-advisory
-
secunia.com
/advisories/17277
third-party-advisory
-
securitytracker.com
/id?1012646
vdb-entry
- kde.org /info/security/advisory-20041223-1.txt
-
exchange.xforce.ibmcloud.com
/vulnerabilities/18641
vdb-entry
-
marc.info
/?t=110378596500001&r=1&w=2
mailing-list
-
lists.grok.org.uk
/pipermail/full-disclosure/2004-December/030241.html
mailing-list
-
idefense.com
/application/poi/display?id=172&type=vulnerabilities
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10830
vdb-entry, signature
Sources
- CVE List CVE-2004-1125
- NVD CVE-2004-1125
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.