CVE-2018-6952 Use after free in n/a
A double free vulnerability in GNU patch allows attackers to execute arbitrary code or cause a denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-6952?
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.
Official description
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
Weakness: CWE-415
Which versions are affected by CVE-2018-6952?
It affects 1 product.
Products include Gnu Patch.
How do I fix CVE-2018-6952?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-6952 being exploited?
There is no known exploitation of CVE-2018-6952 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as ALPINE-CVE-2018-6952, AZL-35104, AZL-6788, CLEANSTART-2026-LO96817, DEBIAN-CVE-2018-6952, ECHO-2151-2f9c-cea7 and 5 more.