{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-6952 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-6952 is a high-severity use after free vulnerability in n/a, published on 13 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-6952 and fix it if it is affected.\n\nWhat it is: CVE-2018-6952 is a high-severity use after free vulnerability in n/a, published on 13 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-6952 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-6952/ (Markdown: https://insights.sbomify.com/CVE-2018-6952/index.md)","id":"CVE-2018-6952","markdown":"https://insights.sbomify.com/CVE-2018-6952/index.md","name":"CVE-2018-6952","record":{"aliases":["ALPINE-CVE-2018-6952","AZL-35104","AZL-6788","CLEANSTART-2026-LO96817","DEBIAN-CVE-2018-6952","ECHO-2151-2f9c-cea7","GHSA-ffqc-f68h-qq8w","JLSEC-2026-15","ROOT-OS-DEBIAN-12-CVE-2018-6952","ROOT-OS-UBUNTU-2204-CVE-2018-6952","UBUNTU-CVE-2018-6952"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU patch utility","requires_auth":"none","summary":"A double free vulnerability in GNU patch allows attackers to execute arbitrary code or cause a denial of service via crafted input.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"patch","vendor":"gnu"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"description":"A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.","ecosystems":[],"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":"Use after free in n/a","id":"CVE-2018-6952","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2018"},"n_packages":0,"n_references":4,"next":{"headline":"Memory corruption in n/a","id":"CVE-2018-6953"},"packages":[],"prev":{"headline":"Null dereference in n/a","id":"CVE-2018-6951"},"products":["n/a"],"published":"2018-02-13","related":[{"cvss_score":7.8,"headline":"Command injection in n/a","id":"CVE-2018-20969","kev_date_added":null,"published":"2019-08-16"},{"cvss_score":5.9,"headline":"Path traversal in n/a","id":"CVE-2019-13636","kev_date_added":null,"published":"2019-07-17"},{"cvss_score":5.5,"headline":"Null dereference in n/a","id":"CVE-2021-45261","kev_date_added":null,"published":"2021-12-22"},{"cvss_score":5.5,"headline":"Use after free in n/a","id":"CVE-2019-20633","kev_date_added":null,"published":"2020-03-25"},{"cvss_score":5.5,"headline":"Memory corruption in n/a","id":"CVE-2016-10713","kev_date_added":null,"published":"2018-02-13"},{"cvss_score":4.6,"headline":"NULL Pointer Dereference in GNU patch","id":"CVE-2026-56288","kev_date_added":null,"published":"2026-07-09"}],"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":"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":"A double free vulnerability in GNU patch allows attackers to execute arbitrary code or cause a denial of service via crafted input.","url":"https://insights.sbomify.com/CVE-2018-6952/"}