CWE
20 119
Advisory Published
Updated

CVE-2004-1125: Input Validation

First published: Wed Dec 22 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Xpdf=3.0
CUPS (Common UNIX Printing System)=1.1.20
KDE Kde Beta 3=3.3.2
KDE Kde Beta 3=3.2.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2004-1125?

    CVE-2004-1125 has a high severity as it can lead to application crashes and potential arbitrary code execution.

  • How do I fix CVE-2004-1125?

    To fix CVE-2004-1125, update to the latest versions of affected software such as Xpdf and KDE.

  • What products are affected by CVE-2004-1125?

    CVE-2004-1125 affects Xpdf 3.0, KDE versions 3.2.x to 3.2.3, and 3.3.x to 3.3.2.

  • What type of attack is facilitated by CVE-2004-1125?

    CVE-2004-1125 allows remote attackers to exploit a buffer overflow, potentially leading to denial of service or code execution.

  • Can CVE-2004-1125 be exploited remotely?

    Yes, CVE-2004-1125 can be exploited remotely through crafted PDF files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203