{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8975 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-8975 is a medium-severity memory corruption vulnerability in n/a, published on 25 Mar 2018. 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-2018-8975 and fix it if it is affected.\n\nWhat it is: CVE-2018-8975 is a medium-severity memory corruption vulnerability in n/a, published on 25 Mar 2018. 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-2018-8975 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-2018-8975/ (Markdown: https://insights.sbomify.com/CVE-2018-8975/index.md)","id":"CVE-2018-8975","markdown":"https://insights.sbomify.com/CVE-2018-8975/index.md","name":"CVE-2018-8975","record":{"aliases":["GHSA-vq9h-w3r5-w484","MGASA-2019-0183","SUSE-SU-2019:0855-1","openSUSE-SU-2019:1200-1","openSUSE-SU-2024:11084-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Netpbm image library","requires_auth":"none","summary":"Remote attackers can cause a denial of service via heap-based buffer over-read in Netpbm by providing a crafted image file.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"netpbm","vendor":"netpbm_project"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"The pm_mallocarray2 function in lib/util/mallocvar.c in Netpbm through 10.81.03 allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, as demonstrated by pbmmask.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Desktop Applications 15","openSUSE:Leap 15.0","openSUSE:Tumbleweed"],"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-2018-8975","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2018"},"n_packages":4,"n_references":4,"next":{"headline":"Denial of service in n/a","id":"CVE-2018-8976"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["10.80.1-3.3.36"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/suse/netpbm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2019:0855-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15","fixed":["10.80.1-3.3.36"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/suse/netpbm\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015","source":"SUSE-SU-2019:0855-1"},{"ecosystem":"openSUSE:Leap 15.0","fixed":["10.80.1-lp150.2.3.1"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/opensuse/netpbm\u0026distro=openSUSE%20Leap%2015.0","source":"openSUSE-SU-2019:1200-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["10.93.0-1.6"],"introduced":["0"],"last_affected":[],"package":"netpbm","purl":"pkg:rpm/opensuse/netpbm\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11084-1"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2018-8974"},"products":["n/a"],"published":"2018-03-25","related":[{"cvss_score":4.5,"headline":"Memory corruption in netpbm","id":"CVE-2017-2580","kev_date_added":null,"published":"2018-07-27"},{"cvss_score":4.5,"headline":"Memory corruption in netpbm","id":"CVE-2017-2581","kev_date_added":null,"published":"2018-07-27"},{"cvss_score":3.3,"headline":"Memory corruption in netpbm","id":"CVE-2017-2579","kev_date_added":null,"published":"2018-07-27"},{"cvss_score":3.3,"headline":"Null dereference in netpbm","id":"CVE-2017-2586","kev_date_added":null,"published":"2018-07-27"},{"cvss_score":3.3,"headline":"Denial of service in netpbm","id":"CVE-2017-2587","kev_date_added":null,"published":"2018-07-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-05","vendors":["n/a"]},"summary":"Remote attackers can cause a denial of service via heap-based buffer over-read in Netpbm by providing a crafted image file.","url":"https://insights.sbomify.com/CVE-2018-8975/"}