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.
CVE-2004-1125
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 9.3 — v2 rates that HIGH (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:M/Au:N/C:C/I:C/A:C. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 6.6% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v2.0 (legacy)
- 9.3HIGHNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 9.3(low)
- EG Risk
- 49(Track)EG Risk 49/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity93% × 45%Exploitation7% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 7%
- EPSS %ILE
- 93%
- KEV
- Not listed
Published
January 10, 2005
Last Modified
June 16, 2026
References (54)
- cve@mitreftp://ftp.foolabs.com/pub/xpdf/xpdf-3.00pl2.patch
- cve@mitreftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.42/SCOSA-2005.42.txt
- cve@mitrehttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000921
- cve@mitrehttp://lists.grok.org.uk/pipermail/full-disclosure/2004-December/030241.html
- cve@mitrehttp://marc.info/?t=110378596500001&r=1&w=2
- cve@mitrehttp://secunia.com/advisories/17277
- cve@mitrehttp://securitytracker.com/id?1012646
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200412-25.xml
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200501-13.xml
- cve@mitrehttp://www.gentoo.org/security/en/glsa/glsa-200501-17.xml
- cve@mitrehttp://www.idefense.com/application/poi/display?id=172&type=vulnerabilities
- cve@mitrehttp://www.kde.org/info/security/advisory-20041223-1.txt
- cve@mitrehttp://www.novell.com/linux/security/advisories/2005_01_sr.html
- cve@mitrehttp://www.redhat.com/support/errata/RHSA-2005-013.html
- cve@mitrehttp://www.redhat.com/support/errata/RHSA-2005-018.html
Patch Availability(10)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | xpdf-reader () @ warty | 2026-05-31 | ubuntu |
| ubuntu | libcupsimage2 () @ warty | 2026-05-31 | ubuntu |
| redhat | tetex-0:1.0.7-67.7 | 2005-04-01 | redhat |
| redhat | tetex-0:2.0.2-22.EL4.4 | 2005-03-16 | redhat |
| redhat | gpdf-0:2.8.2-4.3 | 2005-02-15 | redhat |
| redhat | kdegraphics-7:3.3.1-3.3 | 2005-02-15 | redhat |
| redhat | cups-1:1.1.22-0.rc1.9.6 | 2005-02-15 | redhat |
| redhat | xpdf-1:3.00-11.5 | 2005-02-15 | redhat |
| redhat | xpdf-1:2.02-9.4 | 2005-01-12 | redhat |
| redhat | cups-1:1.1.17-13.3.22 | 2005-01-12 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(10)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2005:013MODERATE2004-12-21
RHSA-2005:013 — Moderate
- Red HatRHSA-2005:018MODERATE2004-12-21
RHSA-2005:018 — Moderate
- Red HatRHSA-2005:026MODERATE2004-12-21
RHSA-2005:026 — Moderate
- Red HatRHSA-2005:034MODERATE2004-12-21
RHSA-2005:034 — Moderate
- Red HatRHSA-2005:053MODERATE2004-12-21
RHSA-2005:053 — Moderate
- Red HatRHSA-2005:057MODERATE2004-12-21
RHSA-2005:057 — Moderate
- Red HatRHSA-2005:066MODERATE2004-12-21
RHSA-2005:066 — Moderate
- Red HatRHSA-2005:354MODERATE2004-12-21
RHSA-2005:354 — Moderate
- UbuntuUSN-48-1MEDIUM
xpdf, tetex-bin vulnerabilities
- UbuntuUSN-50-1MEDIUM
CUPS vulnerabilities
Data Freshness Timeline
(refreshed 9× in last 7d / 27× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-26 13:24 UTCEG score recompute▲ 9.30
- 2026-07-26 12:32 UTCOSV refresh
- 2026-07-25 14:11 UTCEPSS rescore
- 2026-07-24 14:11 UTCEPSS rescore
- 2026-07-23 00:46 UTCEG score recompute
- 2026-07-23 00:27 UTCEG score recompute
- 2026-07-22 23:50 UTCEG score recompute
- 2026-07-22 21:31 UTCEG score recompute
- 2026-07-20 17:02 UTCEPSS rescore
- 2026-07-19 14:25 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-16 16:58 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-15 01:55 UTCEPSS rescore
- 2026-07-13 06:07 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-09 06:46 UTCOSV refresh
- 2026-07-08 15:09 UTCEPSS rescore
- 2026-07-06 02:19 UTCEPSS rescore
- 2026-07-04 06:26 UTCEPSS rescore
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
Show 59 moreShow fewer
- 2026-06-28 14:02 UTCEPSS rescore
- 2026-06-28 04:52 UTCEPSS rescore
- 2026-06-27 03:04 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-22 14:22 UTCEPSS rescore
- 2026-06-21 14:52 UTCEPSS rescore
- 2026-06-20 19:12 UTCOSV refresh
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-19 19:22 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:55 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
- 2026-06-07 15:21 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-06 13:44 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 14:30 UTCEG score recompute
- 2026-05-31 14:30 UTCVendor advisory
- 2026-05-31 14:30 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-29 13:40 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-26 07:16 UTCEPSS rescore
- 2026-05-24 16:42 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 09:18 UTCOSV refresh
- 2026-05-20 22:36 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-20 11:20 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
- CVE-2001-0825EG 10.0HIGH
- CVE-2001-1009EG 10.0EPSS p93HIGH
- CVE-2001-0554EG 10.0EPSS p98HIGH
- CVE-2001-1162EG 10.0EPSS p96HIGH
- CVE-2001-0414EG 10.0EPSS p100HIGH
- CVE-2001-0191EG 10.0EPSS p92HIGH
- CVE-2001-0301EG 10.0EPSS p90HIGH
- CVE-2001-0197EG 10.0EPSS p96HIGH
- CVE-2001-0233EG 10.0EPSS p96HIGH
- CVE-2001-0010EG 10.0EPSS p98HIGH
Same CWE
10 shownCWE-20
- CVE-2005-0050EG 10.0EPSS p99HIGH
- CVE-2004-1019EG 10.0EPSS p94HIGH
- CVE-2004-0840EG 10.0EPSS p98HIGH
- CVE-2003-1425EG 10.0EPSS p96HIGH
- CVE-2003-1487EG 10.0EPSS p94HIGH
- CVE-2002-1874EG 10.0HIGH
- CVE-2002-2236EG 10.0EPSS p91HIGH
- CVE-2002-2365EG 10.0HIGH
- CVE-2002-1358EG 10.0EPSS p92HIGH
- CVE-2002-1359EG 10.0EPSS p100HIGH
Frequently asked(4)
What is CVE-2004-1125?
When was CVE-2004-1125 disclosed?
Is CVE-2004-1125 actively exploited?
How do I remediate CVE-2004-1125?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2004-1125
Is Your Infrastructure Affected by CVE-2004-1125?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.