CVE-2019-13636 json
In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files.
published 2019-07-17 7 y ago modified 2026-07-18 3 mo ago also EUVD-2019-5064 , JLSEC-2026-16
- cvss
- 5.9
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.9%
- EPSS 3.9% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia patch_jll 2.8.0+0
- patch Debian 14, Debian 13, Debian 12 2.7.6-5
debian advisories DEBIAN-CVE-2019-13636
- patch Ubuntu 16.04 LTS 2.7.5-1ubuntu0.16.04.2
- patch Ubuntu 18.04 LTS 2.7.6-2ubuntu1.1
- patch Ubuntu Pro 14.04 LTS 2.7.1-4ubuntu2.4+esm1
ubuntu advisories UBUNTU-CVE-2019-13636
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- patch RHEL 8 2.7.6-11.el8
red hat advisories RHSA-2020:1852
- patch SLES for SAP 12 SP5, SLES 12 SP5 2.7.5-8.8.1
- patch SLE Module for Basesystem 15 SP4, SLE Module for Basesystem 15 SP3, openSUSE Leap 15.4 +1 more 2.7.6-150000.5.3.1
suse advisories SUSE-SU-2022:1932-1SUSE-SU-2022:1925-1
- patch openSUSE Tumbleweed 2.7.6-5.1
opensuse advisories openSUSE-SU-2024:12060-1
- patch AlmaLinux 8 2.7.6-11.el8
almalinux advisories ALSA-2020:1852
- patch Rocky Linux 8 2.7.6-11.el8
rocky linux advisories RLSA-2020:1852
- patch Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 2.7.6-r5
- patch Alpine 3.7 2.7.5-r3
- patch Alpine 3.8 2.7.6-r3
alpine advisories ALPINE-CVE-2019-13636
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- patch Azure Linux 3.0 2.7.6-9
- patch CBL-Mariner 2.0 2.7.6-7
azure linux advisories AZL-35105AZL-6789
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-13636 updated cvss 5.9
patch: the following of symlinks in inp.c and util.c is mishandled in cases other than input files
-
Red Hat Enterprise Linux 5 patch Red Hat Enterprise Linux 6 patchaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 patchaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux BaseOS (v. 8) patch 2.7.6-11.el8fixed: vendor fix RHSA-2020:1852
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.90% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
| OSV | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | patch_jll | <2.8.0+0 |
2.8.0+0 |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
git.savannah.gnu.org
/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a
mailing-list, patch, vendor-advisory, web
-
usn.ubuntu.com
/4071-1/
vendor-advisory, web
-
usn.ubuntu.com
/4071-2/
vendor-advisory, web
-
debian.org
/security/2019/dsa-4489
vendor-advisory, web
-
security.gentoo.org
/glsa/201908-22
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/
vendor-advisory, web
-
lists.debian.org
/debian-lts-announce/2019/07/msg00016.html
mailing-list, third-party-advisory, web
-
seclists.org
/bugtraq/2019/Jul/54
mailing-list, web
-
seclists.org
/bugtraq/2019/Aug/29
mailing-list, web
-
packetstormsecurity.com
/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
web
-
security.netapp.com
/advisory/ntap-20190828-0001/
web
-
github.com
/irsl/gnu-patch-vulnerabilities
web
Sources
- CVE List CVE-2019-13636
- NVD CVE-2019-13636
- OSV JLSEC-2026-16
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.