{"schemaVersion":3,"id":"CVE-2004-1125","aliases":["RHSA-2005:018","DEBIAN-CVE-2004-1125","DSA-619-1","DSA-621-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2004-12-22T05:00:00.000Z","modified":"2024-08-08T00:39:00.871Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.06576,"percentile":0.93764,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.06576},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06576,"percentile":0.93764}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06576,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06576,"percentile":0.93764}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"cups","name":"cups","label":"cups","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cups","purlType":"deb","versions":[{"text":"< 1.1.22-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.22-2","eol":null,"hubHref":null},{"vendor":"debian","product":"cupsys","name":"cupsys","label":"cupsys","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cupsys","purlType":"deb","versions":[{"text":"< 1.1.14-5woody11","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.14-5woody11","eol":null,"hubHref":null},{"vendor":"debian","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xpdf","purlType":"deb","versions":[{"text":"< 3.00-11","noFixRecorded":false,"fixedIn":null},{"text":"< 1.00-3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.00-11 | < 1.00-3.3","eol":null,"hubHref":null},{"vendor":"easy_software_products","product":"cups","name":"cups","label":"cups","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.1.20","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.1.20","eol":null,"hubHref":"/vendor/easy_software_products/cups"},{"vendor":"kde","product":"kde","name":"kde","label":"kde","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"3.2.3","noFixRecorded":false,"fixedIn":null},{"text":"3.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.2.3 | 3.3.2","eol":null,"hubHref":"/vendor/kde/kde"},{"vendor":"redhat","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/xpdf","purlType":"rpm","versions":[{"text":"< 1:2.02-9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.02-9.4","eol":null,"hubHref":null},{"vendor":"redhat","product":"xpdf-debuginfo","name":"xpdf-debuginfo","label":"xpdf-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/xpdf-debuginfo","purlType":"rpm","versions":[{"text":"< 1:2.02-9.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.02-9.4","eol":null,"hubHref":null},{"vendor":"xpdf","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0","eol":null,"hubHref":"/vendor/xpdf/xpdf"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2005-013.html","label":"www.redhat.com/support/errata/RHSA-2005-013.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://secunia.com/advisories/17277","label":"secunia.com/advisories/17277","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-066.html","label":"www.redhat.com/support/errata/RHSA-2005-066.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-034.html","label":"www.redhat.com/support/errata/RHSA-2005-034.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-018.html","label":"www.redhat.com/support/errata/RHSA-2005-018.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2352","label":"bugzilla.fedora.us/show_bug.cgi?id=2352","hostname":"bugzilla.fedora.us","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2353","label":"bugzilla.fedora.us/show_bug.cgi?id=2353","hostname":"bugzilla.fedora.us","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://securitytracker.com/id?1012646","label":"securitytracker.com/id?1012646","hostname":"securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://www.securityfocus.com/bid/12070","label":"www.securityfocus.com/bid/12070","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Patch","Vendor Advisory"]},{"url":"http://www.kde.org/info/security/advisory-20041223-1.txt","label":"www.kde.org/info/security/advisory-20041223-1.txt","hostname":"www.kde.org","tags":["X Refsource CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/18641","label":"exchange.xforce.ibmcloud.com/vulnerabilities/18641","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200501-17.xml","label":"www.gentoo.org/security/en/glsa/glsa-200501-17.xml","hostname":"www.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-026.html","label":"www.redhat.com/support/errata/RHSA-2005-026.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-053.html","label":"www.redhat.com/support/errata/RHSA-2005-053.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://usn.ubuntu.com/50-1/","label":"usn.ubuntu.com/50-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200501-13.xml","label":"www.gentoo.org/security/en/glsa/glsa-200501-13.xml","hostname":"www.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://marc.info/?t=110378596500001&r=1&w=2","label":"marc.info?t=110378596500001&r=1&w=2","hostname":"marc.info","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200412-25.xml","label":"www.gentoo.org/security/en/glsa/glsa-200412-25.xml","hostname":"www.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2004-December/030241.html","label":"lists.grok.org.uk/pipermail/full-disclosure/2004-December/030241.html","hostname":"lists.grok.org.uk","tags":["Mailing List","X Refsource FULLDISC"]},{"url":"http://www.novell.com/linux/security/advisories/2005_01_sr.html","label":"www.novell.com/linux/security/advisories/2005_01_sr.html","hostname":"www.novell.com","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-354.html","label":"www.redhat.com/support/errata/RHSA-2005-354.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.idefense.com/application/poi/display?id=172&type=vulnerabilities","label":"www.idefense.com/application/poi/display?id=172&type=vulnerabilities","hostname":"www.idefense.com","tags":["Third Party Advisory","X Refsource IDEFENSE"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10830","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10830","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000921","label":"distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000921","hostname":"distro.conectiva.com.br","tags":["Vendor Advisory","X Refsource CONECTIVA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-057.html","label":"www.redhat.com/support/errata/RHSA-2005-057.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2005:018","label":"access.redhat.com/errata/RHSA-2005:018","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=143499","label":"bugzilla.redhat.com/show_bug.cgi?id=143499","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_018.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_018.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-1125","label":"access.redhat.com/security/cve/CVE-2004-1125","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617371","label":"bugzilla.redhat.com/show_bug.cgi?id=1617371","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-1125","label":"www.cve.org/CVERecord?id=CVE-2004-1125","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1125","label":"nvd.nist.gov/vuln/detail/CVE-2004-1125","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-1125","label":"security-tracker.debian.org/tracker/CVE-2004-1125","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2005:013","RHSA-2005:026","RHSA-2005:034","RHSA-2005:053","RHSA-2005:057","RHSA-2005:066","RHSA-2005:354"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2004-12-22T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T00:39:00.871Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:11:47.528Z","stale":false,"partial":false}}