CVE-2004-1125

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.

Published: 2005-01-10 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2004-1125 is rated High Risk (69/100): CVSS Critical severity, with high exploitation likelihood (EPSS 6.58%, 93th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2004-1125

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 7.31% 6.58% -0.74%
2 2025-03-30 11.99% 7.31% -4.68%
3 2025-03-29 11.99%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2004-1125

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.3 2.0 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
8.6 10.0 [email protected]

Weakness enumeration for CVE-2004-1125

OS Trackers for CVE-2004-1125

vendor priority summary link
debian not yet assigned CVE-2004-1125 not yet assigned priority: Debian including 2 source packages (cups, xpdf), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2004-1125
redhat medium https://access.redhat.com/security/cve/CVE-2004-1125
ubuntu medium CVE-2004-1125 medium priority: Ubuntu including 7 source packages (cupsys, gpdf, …), 28 status rows across 4 suites (dapper, edgy, feisty, upstream): released 20, needs-triage 7, DNE 1. https://ubuntu.com/security/CVE-2004-1125

Affected software / configurations for CVE-2004-1125

Vendor Product Version Raw CPE
easy_software_products cups 1.1.20 cpe:2.3:a:easy_software_products:cups:1.1.20:*:*:*:*:*:*:*
xpdf xpdf 3.0 cpe:2.3:a:xpdf:xpdf:3.0:*:*:*:*:*:*:*
kde kde 3.2.3 cpe:2.3:o:kde:kde:3.2.3:*:*:*:*:*:*:*
kde kde 3.3.2 cpe:2.3:o:kde:kde:3.3.2:*:*:*:*:*:*:*

References for CVE-2004-1125

URL Tags
ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00pl2.patch
ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.42/SCOSA-2005.42.txt
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000921
http://lists.grok.org.uk/pipermail/full-disclosure/2004-December/030241.html
http://marc.info/?t=110378596500001&r=1&w=2
http://secunia.com/advisories/17277
http://securitytracker.com/id?1012646
http://www.gentoo.org/security/en/glsa/glsa-200412-25.xml
http://www.gentoo.org/security/en/glsa/glsa-200501-13.xml
http://www.gentoo.org/security/en/glsa/glsa-200501-17.xml
http://www.idefense.com/application/poi/display?id=172&type=vulnerabilities
http://www.kde.org/info/security/advisory-20041223-1.txt
http://www.novell.com/linux/security/advisories/2005_01_sr.html
http://www.redhat.com/support/errata/RHSA-2005-013.html
http://www.redhat.com/support/errata/RHSA-2005-018.html
http://www.redhat.com/support/errata/RHSA-2005-026.html
http://www.redhat.com/support/errata/RHSA-2005-034.html
http://www.redhat.com/support/errata/RHSA-2005-053.html
http://www.redhat.com/support/errata/RHSA-2005-057.html
http://www.redhat.com/support/errata/RHSA-2005-066.html
http://www.redhat.com/support/errata/RHSA-2005-354.html
http://www.securityfocus.com/bid/12070 Patch Vendor Advisory
https://bugzilla.fedora.us/show_bug.cgi?id=2352
https://bugzilla.fedora.us/show_bug.cgi?id=2353
https://exchange.xforce.ibmcloud.com/vulnerabilities/18641
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10830
https://usn.ubuntu.com/50-1/
cvelogic Threat Intelligence