High severity · published Feb 13, 2018
CVE-2018-6952
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6
7.5
CVSS
8.2%
EPSS
No
On KEV
Description
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)8.2% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
Patch · Gnu
through 2.7.6 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-6952
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-6952
Third Party Advisory
http://www.securityfocus.com/bid/103047
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:2033
Vendor Advisory
https://savannah.gnu.org/bugs/index.php?53133
security.gentoo.org
https://security.gentoo.org/glsa/201904-17
More from Patch
7.8
CVE-2018-20969
do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character
7.8
CVE-2019-13638
GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell…
7.8
CVE-2018-1000156
GNU Patch version 2.7.6 contains an input validation vulnerability when processing patch files, specifically the EDITOR_PROGRAM invocation (using ed) can result in code execution
7.5
CVE-2015-1396
A Directory Traversal vulnerability exists in the GNU patch before 2.7.4
7.5
CVE-2018-6951
An issue was discovered in GNU patch through 2.7.6
