# CVE-2019-13636: In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files.

- Severity: Medium 5.9 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.93%, higher than 90% of CVEs (2026-12-01)
- Published: 2019-07-17T20:04:00.000Z
- Modified: 2026-06-17T02:17:07.513Z
- Weaknesses: CWE-59
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnu patch: up to 2.7.6

## Every score

- NVD: CVSS:3.0 5.9 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:P`

## References

- <https://git.savannah.gnu.org/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a> (mailing-list, patch, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/07/msg00016.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4071-1/> (vendor-advisory)
- <https://usn.ubuntu.com/4071-2/> (vendor-advisory)
- <https://www.debian.org/security/2019/dsa-4489> (vendor-advisory)
- <https://seclists.org/bugtraq/2019/Jul/54> (mailing-list)
- <https://seclists.org/bugtraq/2019/Aug/29> (mailing-list)
- <http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html>
- <https://security.gentoo.org/glsa/201908-22> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20190828-0001/>
- <https://github.com/irsl/gnu-patch-vulnerabilities>

## Sources

- CVE List: [CVE-2019-13636](https://www.cve.org/CVERecord?id=CVE-2019-13636), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-13636](https://nvd.nist.gov/vuln/detail/CVE-2019-13636), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-13636 · Whole record: https://cve.day/CVE-2019-13636.json · Rebuilt by cve.day 2026-11-25T22:57:46.032Z
