{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2004-1125 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2004-1125 is a critical memory corruption vulnerability in Kde Kde, published on 22 Dec 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-1125 and fix it if it is affected.\n\nWhat it is: CVE-2004-1125 is a critical memory corruption vulnerability in Kde Kde, published on 22 Dec 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2004-1125 in the wild and no public exploit code.\n\nAffected product: Kde Kde. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2004-1125/ (Markdown: https://insights.sbomify.com/CVE-2004-1125/index.md)","id":"CVE-2004-1125","markdown":"https://insights.sbomify.com/CVE-2004-1125/index.md","name":"CVE-2004-1125","record":{"aliases":["DEBIAN-CVE-2004-1125","DSA-619-1","DSA-621-1","GHSA-68gp-v694-mxpq","RHSA-2005:018"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"PDF rendering library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or crash applications via crafted PDF files exploiting a buffer overflow in xpdf and related PDF viewers.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cups","vendor":"easy_software_products"},{"product":"kde","vendor":"kde"},{"product":"xpdf","vendor":"xpdf"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"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.","ecosystems":["Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2004-1125","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"kde:kde","products":["kde:kde"],"type":"memory_corruption","year":"2004"},"n_packages":8,"n_references":27,"next":{"headline":"Memory corruption in n/a","id":"CVE-2004-1127"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2005:018"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2005:018"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2005:018"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2005:018"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2005:018"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2005:018"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2005:018"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["1:2.02-9.4"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2005:018"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2004-1124"},"products":["n/a"],"published":"2004-12-22","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2001-0194","kev_date_added":null,"published":"2001-05-07"},{"cvss_score":9.3,"headline":"Integer overflow in n/a","id":"CVE-2007-5849","kev_date_added":null,"published":"2007-12-19"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2002-0063","kev_date_added":null,"published":"2002-06-25"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2001-1332","kev_date_added":null,"published":"2002-05-03"},{"cvss_score":7.2,"headline":"Integer overflow in n/a","id":"CVE-2002-1384","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":6.5,"headline":"Memory corruption in n/a","id":"CVE-2004-1267","kev_date_added":null,"published":"2004-12-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code or crash applications via crafted PDF files exploiting a buffer overflow in xpdf and related PDF viewers.","url":"https://insights.sbomify.com/CVE-2004-1125/"}