{"answers":{"affected":"It affects 5 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0990 exists.","fix":"Apply the vendor's patch.","what":"CVE-2004-0990 is a critical vulnerability in Gentoo Linux, published on 28 Oct 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-0990 and fix it if it is affected.\n\nWhat it is: CVE-2004-0990 is a critical vulnerability in Gentoo Linux, published on 28 Oct 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0990 exists.\n\nAffected product: Gentoo Linux. 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-0990/ (Markdown: https://insights.sbomify.com/CVE-2004-0990/index.md)","id":"CVE-2004-0990","markdown":"https://insights.sbomify.com/CVE-2004-0990/index.md","name":"CVE-2004-0990","record":{"aliases":["DEBIAN-CVE-2004-0990","DSA-589-1","DSA-591-1","GHSA-23x9-mmjc-x474"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GD Graphics Library","requires_auth":"none","summary":"Remote attackers can cause denial of service or execute arbitrary code via malicious PNG files exploiting an integer overflow in the GD Graphics Library.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gdlib","vendor":"gd_graphics_library"},{"product":"linux","vendor":"gentoo"},{"product":"openpkg","vendor":"openpkg"},{"product":"suse_linux","vendor":"suse"},{"product":"secure_linux","vendor":"trustix"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"Integer overflow in GD Graphics Library libgd 2.0.28 (libgd2), and possibly other versions, allows remote attackers to cause a denial of service and possibly execute arbitrary code via PNG image files with large image rows values that lead to a heap-based buffer overflow in the gdImageCreateFromPngCtx function, a different set of vulnerabilities than CVE-2004-0941.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2004-10-26","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-10-26","kind":"exploitdb","ref":"600","stars":null,"title":"GD Graphics Library - Local Heap Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Integer overflow in n/a","id":"CVE-2004-0990","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gentoo:linux","products":["gentoo:linux","suse:suse_linux","trustix:secure_linux"],"type":"integer_overflow","year":"2004"},"n_packages":0,"n_references":26,"next":{"headline":"Memory corruption in n/a","id":"CVE-2004-0991"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2004-0989"},"products":["n/a"],"published":"2004-10-28","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0941","kev_date_added":null,"published":"2004-11-19"},{"cvss_score":4.3,"headline":"Denial of service in n/a","id":"CVE-2007-3475","kev_date_added":null,"published":"2007-06-28"},{"cvss_score":4.3,"headline":"Integer overflow in n/a","id":"CVE-2007-3476","kev_date_added":null,"published":"2007-06-28"},{"cvss_score":4.3,"headline":"Race condition in n/a","id":"CVE-2007-3478","kev_date_added":null,"published":"2007-06-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can cause denial of service or execute arbitrary code via malicious PNG files exploiting an integer overflow in the GD Graphics Library.","url":"https://insights.sbomify.com/CVE-2004-0990/"}