{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2005-2978 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2005-2978 is a high-severity memory corruption vulnerability in n/a, published on 18 Oct 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2005-2978 and fix it if it is affected.\n\nWhat it is: CVE-2005-2978 is a high-severity memory corruption vulnerability in n/a, published on 18 Oct 2005. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2005-2978 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2005-2978/ (Markdown: https://insights.sbomify.com/CVE-2005-2978/index.md)","id":"CVE-2005-2978","markdown":"https://insights.sbomify.com/CVE-2005-2978/index.md","name":"CVE-2005-2978","record":{"aliases":["DEBIAN-CVE-2005-2978","DSA-878-1","GHSA-xf4f-2rfr-r287","RHSA-2005:793"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Netpbm image library","requires_auth":"none","summary":"Attackers can execute arbitrary code via stack modification when converting PNM images using the -trans option in Netpbm.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"netpbm","vendor":"netpbm"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"pnmtopng in netpbm before 10.25, when using the -trans option, uses uninitialized size and index variables when converting Portable Anymap (PNM) images to Portable Network Graphics (PNG), which might allow attackers to execute arbitrary code by modifying the stack.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::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-2005-2978","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2005"},"n_packages":16,"n_references":16,"next":{"headline":"SQL injection in n/a","id":"CVE-2005-2979"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/redhat/netpbm","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-debuginfo","purl":"pkg:rpm/redhat/netpbm-debuginfo","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-devel","purl":"pkg:rpm/redhat/netpbm-devel","source":"RHSA-2005:793"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:10.25-2.EL4.2"],"introduced":["0"],"last_affected":[],"package":"netpbm-progs","purl":"pkg:rpm/redhat/netpbm-progs","source":"RHSA-2005:793"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2005-2977"},"products":["n/a"],"published":"2005-10-18","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2009-4274","kev_date_added":null,"published":"2010-02-12"},{"cvss_score":7.5,"headline":"Command injection in n/a","id":"CVE-2005-2471","kev_date_added":null,"published":"2005-08-05"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2003-0146","kev_date_added":null,"published":"2003-03-18"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2008-0554","kev_date_added":null,"published":"2008-02-08"},{"cvss_score":5,"headline":"Memory corruption in n/a","id":"CVE-2006-3145","kev_date_added":null,"published":"2006-06-22"},{"cvss_score":4.6,"headline":"Memory corruption in n/a","id":"CVE-2005-3632","kev_date_added":null,"published":"2005-11-21"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code via stack modification when converting PNM images using the -trans option in Netpbm.","url":"https://insights.sbomify.com/CVE-2005-2978/"}