cve.bz

CVE-2004-1125 Improper Input Validation

no score yetEPSS 6.6%Fix available

No CVSS score yet. EPSS 6.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
6.6% (unchanged from 6.6% a week ago; 6.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2004-1125 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2004-1125?via=ask-ai-copy and https://cve.bz/cve/CVE-2004-1125?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2004-1125 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
easy_software_products:cups1.1.20
xpdf:xpdf3.0
kde:kde3.2.3
kde:kde3.3.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.0cupsys1.1.14-5woody11DSA-621-1
Debian3.0xpdf1.00-3.3DSA-619-1
Debian12, 13, 14cups1.1.22-2DEBIAN-CVE-2004-1125
Debian12, 13, 14xpdf3.00-11DEBIAN-CVE-2004-1125
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morecups, cups-libs, cups-devel and 1 more1:1.1.17-13.3.22RHSA-2005:013
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 moretetex, tetex-afm, tetex-xdvi and 4 more0:1.0.7-67.7RHSA-2005:354
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morexpdf, xpdf-debuginfo1:2.02-9.4RHSA-2005:018
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morecups, cups-libs, cups-devel and 1 more1:1.1.22-0.rc1.9.6RHSA-2005:053
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moregpdf, gpdf-debuginfo0:2.8.2-4.3RHSA-2005:057
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morekdegraphics, kdegraphics-devel, kdegraphics-debuginfo7:3.3.1-3.3RHSA-2005:066
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moretetex, tetex-afm, tetex-doc and 5 more0:2.0.2-22.EL4.4RHSA-2005:026
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morexpdf, xpdf-debuginfo1:3.00-11.5RHSA-2005:034

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3cups-1:1.1.17-13.3.22Fixed 2005-01-12RHSA-2005:013
Red Hat Enterprise Linux 3xpdf-1:2.02-9.4Fixed 2005-01-12RHSA-2005:018
Red Hat Enterprise Linux 3tetex-0:1.0.7-67.7Fixed 2005-04-01RHSA-2005:354
Red Hat Enterprise Linux 4tetex-0:2.0.2-22.EL4.4Fixed 2005-03-16RHSA-2005:026
Red Hat Enterprise Linux 4xpdf-1:3.00-11.5Fixed 2005-02-15RHSA-2005:034
Red Hat Enterprise Linux 4cups-1:1.1.22-0.rc1.9.6Fixed 2005-02-15RHSA-2005:053
Red Hat Enterprise Linux 4gpdf-0:2.8.2-4.3Fixed 2005-02-15RHSA-2005:057
Red Hat Enterprise Linux 4kdegraphics-7:3.3.1-3.3Fixed 2005-02-15RHSA-2005:066

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2004-1125.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON