Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:deb/debian/patch@2.6-2
purl pkg:deb/debian/patch@2.6-2
Next non-vulnerable version 2.7.6-7
Latest non-vulnerable version 2.7.6-7
Risk 4.0
Vulnerabilities affecting this package (9)
Vulnerability Summary Fixed by
VCID-1pm2-zhtr-yqda
Aliases:
CVE-2015-1396
A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary files via a symlink attack in a patch file. NOTE: this issue exists because of an incomplete fix for CVE-2015-1196.
2.7.5-1
Affected by 5 other vulnerabilities.
VCID-8q8b-ycpu-e3ea
Aliases:
CVE-2015-1395
Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.
2.7.5-1
Affected by 5 other vulnerabilities.
VCID-fuan-yz1a-jbej
Aliases:
CVE-2018-1000156
multiple issues
2.7.6-3+deb10u1
Affected by 3 other vulnerabilities.
VCID-kxps-vxqz-wqfq
Aliases:
CVE-2019-13636
In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files. This affects inp.c and util.c.
2.7.5-1+deb9u2
Affected by 5 other vulnerabilities.
2.7.6-3+deb10u1
Affected by 3 other vulnerabilities.
2.7.6-7
Affected by 0 other vulnerabilities.
VCID-mfsr-c5z2-hfh4
Aliases:
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 metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.
2.7.5-1+deb9u2
Affected by 5 other vulnerabilities.
2.7.6-3+deb10u1
Affected by 3 other vulnerabilities.
2.7.6-7
Affected by 0 other vulnerabilities.
VCID-qp3r-313a-juev
Aliases:
CVE-2015-1196
GNU patch 2.7.1 allows remote attackers to write to arbitrary files via a symlink attack in a patch file.
2.7.5-1
Affected by 5 other vulnerabilities.
VCID-t9q9-5hw4-73cs
Aliases:
CVE-2016-10713
An issue was discovered in GNU patch before 2.7.6. Out-of-bounds access within pch_write_line() in pch.c can possibly lead to DoS via a crafted input file.
2.7.6-3+deb10u1
Affected by 3 other vulnerabilities.
VCID-uqw2-mt6f-quc1
Aliases:
CVE-2014-9637
GNU patch 2.7.2 and earlier allows remote attackers to cause a denial of service (memory consumption and segmentation fault) via a crafted diff file.
2.7.5-1
Affected by 5 other vulnerabilities.
VCID-ycqe-xdf8-x3du
Aliases:
CVE-2018-20969
do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.
2.7.5-1+deb9u2
Affected by 5 other vulnerabilities.
2.7.6-3+deb10u1
Affected by 3 other vulnerabilities.
2.7.6-7
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T04:04:07.424759+00:00 Debian Oval Importer Affected by VCID-1pm2-zhtr-yqda https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-06T03:52:41.011653+00:00 Debian Oval Importer Affected by VCID-uqw2-mt6f-quc1 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-06T03:36:48.578595+00:00 Debian Oval Importer Affected by VCID-qp3r-313a-juev https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-06T03:07:20.755635+00:00 Debian Oval Importer Affected by VCID-ycqe-xdf8-x3du https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-06T02:04:59.290759+00:00 Debian Oval Importer Affected by VCID-mfsr-c5z2-hfh4 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-06T01:32:39.448974+00:00 Debian Oval Importer Affected by VCID-8q8b-ycpu-e3ea https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-05T23:52:18.275709+00:00 Debian Oval Importer Affected by VCID-kxps-vxqz-wqfq https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-05T23:43:51.714638+00:00 Debian Oval Importer Affected by VCID-t9q9-5hw4-73cs https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0
2026-06-05T22:54:05.735134+00:00 Debian Oval Importer Affected by VCID-ycqe-xdf8-x3du https://www.debian.org/security/oval/oval-definitions-buster.xml.bz2 38.6.0
2026-06-05T22:52:24.181509+00:00 Debian Oval Importer Affected by VCID-kxps-vxqz-wqfq https://www.debian.org/security/oval/oval-definitions-buster.xml.bz2 38.6.0
2026-06-05T22:51:07.343890+00:00 Debian Oval Importer Affected by VCID-mfsr-c5z2-hfh4 https://www.debian.org/security/oval/oval-definitions-buster.xml.bz2 38.6.0
2026-06-05T22:49:16.264186+00:00 Debian Oval Importer Affected by VCID-kxps-vxqz-wqfq https://www.debian.org/security/oval/oval-definitions-stretch.xml.bz2 38.6.0
2026-06-05T22:36:19.262842+00:00 Debian Oval Importer Affected by VCID-mfsr-c5z2-hfh4 https://www.debian.org/security/oval/oval-definitions-stretch.xml.bz2 38.6.0
2026-06-05T22:28:28.598246+00:00 Debian Oval Importer Affected by VCID-ycqe-xdf8-x3du https://www.debian.org/security/oval/oval-definitions-stretch.xml.bz2 38.6.0
2026-06-02T00:56:15.678619+00:00 Debian Oval Importer Affected by VCID-fuan-yz1a-jbej https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.6.0