HOMEVULNERABILITIESCVE-2004-1125
CRITICAL

CVE-2004-1125

CWE-20Published: January 10, 2005· Updated: Jun 16, 2026

9.3
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2004-1125 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityC
IntegrityC
AvailabilityC
AV:N/AC:M/Au:N/C:C/I:C/A:C

Affected Vendors & Products

cups
kde1 product(s)
kde
xpdf1 product(s)
xpdf
Source: NVD CPE · 4 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (54)

Quick Facts

CVE IDCVE-2004-1125
CVSS Score9.3 / 10
SeverityCRITICAL
WeaknessCWE-20
CISA KEVNo
Affected3 vendor(s)
PublishedJan 10, 2005

Related CVEs (CWE-20)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2004-1125 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.