{"id":"CVE-2019-13636","aliases":["ALPINE-CVE-2019-13636","ALSA-2020:1852","AZL-35105","AZL-6789","BELL-CVE-2019-13636","DEBIAN-CVE-2019-13636","DLA-1856-1","DSA-4489-1","EUVD-2019-5064","GHSA-f3xm-hqch-mq3q","JLSEC-2026-16","MGASA-2020-0093","RHSA-2020:1852","RLSA-2020:1852","SUSE-SU-2022:1925-1","SUSE-SU-2022:1932-1","UBUNTU-CVE-2019-13636","USN-4071-1","USN-4071-2","openSUSE-SU-2024:12060-1"],"status":"published","title":"In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than...","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.","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.03895,"percentile":0.90331,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2019-07-17T00:00:00Z","modified":"2026-11-05T05:40:51Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"patch","fixed_in":["2.7.5-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"patch","fixed_in":["2.7.6-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"patch","fixed_in":["2.7.6-r5"],"sources":["osv"]},{"ecosystem":"AlmaLinux:8","package":"patch","fixed_in":["2.7.6-11.el8"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"patch","fixed_in":["2.7.6-9"],"sources":["osv"]},{"ecosystem":"Azure Linux:2","package":"patch","fixed_in":["2.7.6-7"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"patch","fixed_in":["2.7.6-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"patch","fixed_in":["2.7.6-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"patch","fixed_in":["2.7.6-5"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"patch","fixed_in":["2.7.5-1+deb8u2"],"sources":["osv"]},{"ecosystem":"Julia","package":"patch_jll","fixed_in":["2.8.0+0"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"patch","fixed_in":["0:2.7.6-11.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"patch-debuginfo","fixed_in":["0:2.7.6-11.el8"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"patch-debugsource","fixed_in":["0:2.7.6-11.el8"],"sources":["osv"]},{"ecosystem":"Rocky Linux:8","package":"patch","fixed_in":["0:2.7.6-11.el8"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"patch","fixed_in":["2.7.1-4ubuntu2.4+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"patch","fixed_in":["2.7.5-1ubuntu0.16.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"patch","fixed_in":["2.7.6-2ubuntu1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-r5"}]}]},{"source":"osv","ecosystem":"AlmaLinux:8","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-11.el8"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-9"}]}]},{"source":"osv","ecosystem":"Azure Linux:2","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-7"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-5"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-1+deb8u2"}]}],"versions":["2.7.5-1","2.7.5-1+deb8u1"]},{"source":"osv","ecosystem":"Debian:9","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-1+deb9u2"}]}],"versions":["2.7.5-1","2.7.5-1+deb9u1"],"bundled":3},{"source":"osv","ecosystem":"Debian:10","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-3+deb10u1"}]}],"versions":["2.7.6-3"],"bundled":3},{"source":"osv","ecosystem":"Julia","package":"patch_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.8.0+0"}]}]},{"source":"osv","ecosystem":"Mageia:7","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-4.1.mga7"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7.6-11.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"patch-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7.6-11.el8"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::baseos","package":"patch-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7.6-11.el8"}]}]},{"source":"osv","ecosystem":"Rocky Linux:8","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.7.6-11.el8"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-8.8.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-8.8.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1-4ubuntu2.4+esm1"}]}],"versions":["2.7.1-3","2.7.1-4","2.7.1-4ubuntu1","2.7.1-4ubuntu2","2.7.1-4ubuntu2.3","2.7.1-4ubuntu2.4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-1ubuntu0.16.04.2"}]}],"versions":["2.7.5-1","2.7.5-1ubuntu0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-2ubuntu1.1"}]}],"versions":["2.7.5-1build1","2.7.6-1","2.7.6-2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-1ubuntu0.16.04.2"}]}],"versions":["2.7.5-1","2.7.5-1ubuntu0.16.04.1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-2ubuntu1.1"}]}],"versions":["2.7.5-1build1","2.7.6-1","2.7.6-2ubuntu1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1-4ubuntu2.4+esm1"}]}],"versions":["2.7.1-3","2.7.1-4","2.7.1-4ubuntu1","2.7.1-4ubuntu2","2.7.1-4ubuntu2.3","2.7.1-4ubuntu2.4"],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-5.1"}]}],"bundled":2}],"products":[{"vendor":"gnu","product":"patch"}],"references":[{"url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Vendor Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00016.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://usn.ubuntu.com/4071-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4071-2/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://www.debian.org/security/2019/dsa-4489","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"https://seclists.org/bugtraq/2019/Jul/54","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://seclists.org/bugtraq/2019/Aug/29","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201908-22","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20190828-0001/","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/irsl/gnu-patch-vulnerabilities","tags":["x_refsource_MISC","x_transferred","package","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13636","tags":["web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT"},{"url":"https://security.netapp.com/advisory/ntap-20190828-0001"},{"url":"https://usn.ubuntu.com/4071-1"},{"url":"https://usn.ubuntu.com/4071-2"},{"url":"https://github.com/advisories/GHSA-f3xm-hqch-mq3q"},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-13636","tags":["advisory"]},{"url":"https://errata.almalinux.org/8/ALSA-2020-1852.html","tags":["advisory"]},{"url":"https://vulners.com/cve/CVE-2019-13636","tags":["report"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2019-13636","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-13636","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2020-0093.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25279","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2798","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2020:1852","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.2_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1732781","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_1852.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-13636","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-13636","tags":["advisory","report"]},{"url":"https://errata.rockylinux.org/RLSA-2020:1852","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221925-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1080985","tags":["report"]},{"url":"https://bugzilla.suse.com/1111572","tags":["report"]},{"url":"https://bugzilla.suse.com/1142041","tags":["report"]},{"url":"https://bugzilla.suse.com/1198106","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6952","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-13636","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221932-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1092500","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-13636","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4071-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4071-2","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-13638","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2019-13636","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.","status":"published","published":"2019-07-17T20:04:00Z","modified":"2024-08-04T23:57:39.47Z","updated_at":"2026-11-02T14:20:24.357095Z"}],"euvd":[{"id":"EUVD-2019-5064","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.","status":"published","published":"2019-07-17T20:04:00Z","modified":"2024-08-04T23:57:39Z","updated_at":"2026-11-03T02:40:42.016311Z"}],"ghsa":[{"id":"GHSA-f3xm-hqch-mq3q","title":"In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than...","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.","status":"published","published":"2022-05-24T16:50:35Z","modified":"2024-04-04T01:17:53Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:55:56.730661Z"}],"nvd":[{"id":"CVE-2019-13636","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.","status":"published","published":"2019-07-17T21:15:11.797Z","modified":"2026-06-17T02:17:07.513Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:05:20.616405Z"}],"osv":[{"id":"ALPINE-CVE-2019-13636","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.","status":"published","published":"2019-07-17T21:15:11.797Z","modified":"2026-09-21T06:17:52.482364417Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:27:47.663013Z"},{"id":"AZL-35105","title":"CVE-2019-13636 affecting package patch for versions less than 2.7.6-9","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.","status":"published","published":"2019-07-17T21:15:11Z","modified":"2026-11-05T05:40:51Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-05T16:41:19.554273Z"},{"id":"AZL-6789","title":"CVE-2019-13636 affecting package patch for versions less than 2.7.6-7","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.","status":"published","published":"2019-07-17T21:15:11Z","modified":"2026-04-21T04:38:17.461416Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:28:08.630357Z"},{"id":"BELL-CVE-2019-13636","title":"CVE-2019-13636 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:13:45.2145Z","modified":"2026-01-26T09:46:17.380321Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:28:15.340685Z"},{"id":"CVE-2019-13636","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.","status":"published","published":"2019-07-17T21:15:11.797Z","modified":"2026-11-01T02:45:24.141737803Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:11.029493Z"},{"id":"DEBIAN-CVE-2019-13636","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.","status":"published","published":"2019-07-17T21:15:11.797Z","modified":"2026-09-21T07:00:29.446491906Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:31.467893Z"},{"id":"JLSEC-2026-16","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.","status":"published","published":"2026-03-31T16:50:26.988Z","modified":"2026-07-18T00:01:35.243641453Z","cvss":[{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","level":"medium"},{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:47:18.159338Z"},{"id":"RHSA-2020:1852","title":"Red Hat Security Advisory: patch security and bug fix update","status":"published","published":"2024-09-16T03:17:28Z","modified":"2025-11-22T12:00:36Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:07.072948Z"},{"id":"RLSA-2020:1852","title":"Moderate: patch security and bug fix update","description":"The patch program applies diff files to originals. The diff command is used to compare an original to a changed file. Diff lists the changes made to the file. A person who has the original file can then use the patch command with the diff file to add the changes to their original file (patching the file).\n\nSecurity Fix(es):\n\n* patch: the following of symlinks in inp.c and util.c is mishandled in cases other than input files (CVE-2019-13636)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Rocky Linux 8.2 Release Notes linked from the References section.","status":"published","published":"2020-04-28T09:23:52Z","modified":"2026-02-05T14:00:11.500283Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:23.969672Z"},{"id":"UBUNTU-CVE-2019-13636","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.","status":"published","published":"2019-07-17T00:00:00Z","modified":"2026-02-04T04:10:04.411581Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:19.6877Z"},{"id":"ALSA-2020:1852","title":"Moderate: patch security and bug fix update","description":"The patch program applies diff files to originals. The diff command is used to compare an original to a changed file. Diff lists the changes made to the file. A person who has the original file can then use the patch command with the diff file to add the changes to their original file (patching the file).\n\nSecurity Fix(es):\n\n* patch: the following of symlinks in inp.c and util.c is mishandled in cases other than input files (CVE-2019-13636)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2020-04-28T09:23:52Z","modified":"2026-10-29T11:00:13.648303921Z","updated_at":"2026-11-02T15:27:51.196609Z"},{"id":"DLA-1856-1","title":"patch - security update","status":"published","published":"2019-07-19T00:00:00Z","modified":"2026-03-09T01:22:01.091834Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DSA-4489-1","title":"patch - security update","status":"published","published":"2019-07-27T00:00:00Z","modified":"2026-03-09T02:10:38.709491Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"MGASA-2020-0093","title":"Updated patch packages fix security vulnerabilities","description":"Updated patch package fixes security vulnerabilities:\n\n* In GNU patch through 2.7.6, the following of symlinks is mishandled\n  in certain cases other than input files. (CVE-2019-13636).\n\n* A vulnerability was found in GNU patch through 2.7.6 is vulnerable to\n  OS shell command injection that can be exploited by opening a crafted\n  patch file that contains an ed style diff payload with shell\n  metacharacters (CVE-2019-13638).\n\n* A vulnerability was found in do_ed_script in pch.c in GNU patch through\n  2.7.6 does not block strings beginning with a ! character. NOTE: this\n is the same commit as for CVE-2019-13638, but the ! syntax is specific to\n  ed, and is unrelated to a shell metacharacter (CVE-2018-20969).\n","status":"published","published":"2020-02-21T23:06:01Z","modified":"2026-04-16T04:42:03.302682619Z","updated_at":"2026-11-02T15:49:41.151324Z"},{"id":"openSUSE-SU-2024:12060-1","title":"patch-2.7.6-5.1 on GA media","description":"These are all security issues fixed in the patch-2.7.6-5.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:26:05.47873Z","updated_at":"2026-11-02T16:58:35.485255Z"},{"id":"SUSE-SU-2022:1925-1","title":"Security update for patch","description":"This update for patch fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2019-13636: Fixed follow symlinks unless --follow-symlinks is given. This increases the security against malicious patches (bsc#1142041).\n- CVE-2018-6952: Fixed swapping fakelines in pch_swap. This bug was causing a double free leading to a crash (bsc#1080985).\n\nBugfixes:\n\n- Abort when cleaning up fails. This bug could cause an infinite loop when a patch wouldn't apply, leading to a segmentation fault (bsc#1111572).\n- Pass the correct stat to backup files. This bug would occasionally cause backup files to be missing when all hunks failed to apply (bsc#1198106).\n","status":"published","published":"2022-06-02T12:35:31Z","modified":"2026-02-04T02:55:56.757693Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"SUSE-SU-2022:1932-1","title":"Security update for patch","description":"This update for patch fixes the following issues:\n\nSecurity fixes:\n\n- CVE-2019-13636: Fixed mishandled following of symlinks in certain cases other than input files (bsc#1142041).\n- CVE-2018-6952: Fixed double free of memory in pch.c:another_hunk() (bsc#1080985).\n\nBugfixes:\n\n- Pass the correct stat to backup files (bsc#1198106).\n- Fix temporary file leak when applying ed-style patches (bsc#1092500).\n","status":"published","published":"2022-06-03T08:26:34Z","modified":"2026-02-04T04:39:13.139391Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"USN-4071-1","title":"patch vulnerabilities","description":"It was discovered that Patch incorrectly handled certain files.\nAn attacker could possibly use this issue to access sensitive information.\n(CVE-2019-13636)\n\nIt was discovered that Patch incorrectly handled certain files.\nAn attacker could possibly use this issue to execute arbitrary code.\n(CVE-2019-13638)\n","status":"published","published":"2019-07-24T13:33:20Z","modified":"2026-02-10T04:41:35Z","updated_at":"2026-11-02T16:58:14.019824Z"},{"id":"USN-4071-2","title":"patch vulnerabilities","description":"USN-4071-1 fixed several vulnerabilities in Patch. This update provides\nthe corresponding update for Ubuntu 14.04 ESM.\n\nOriginal advisory details:\n\n It was discovered that Patch incorrectly handled certain files.\n An attacker could possibly use this issue to access sensitive information.\n (CVE-2019-13636)\n\n It was discovered that Patch incorrectly handled certain files.\n An attacker could possibly use this issue to execute arbitrary code.\n (CVE-2019-13638)\n","status":"published","published":"2019-07-24T15:15:59Z","modified":"2026-02-10T04:41:35Z","updated_at":"2026-11-02T16:58:14.019824Z"}]}}
