# CVE-2019-13636: patch: The patch program applies diff files to originals

CVE-2019-13636 is fixed in patch on 1 platform, first by patch 2.7.6-2ubuntu1.1, released August 15, 2019. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2019-13636
- Priority: Routine
- CVSS: 5.9 (Moderate)
- EPSS: 0.0390
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 16, 2019

## 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).  Security Fix(es):  * patch: the following of symlinks in inp.c and util.c is mishandled in cases other than input files (CVE-2019-13636)  For 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.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.2 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | patch RHEL 8 | 0:2.7.6-11.el8 | [RHSA-2020:1852](https://patchblox.com/security/data/fix/linux/rhsa-2020-1852.md) | Apr 28, 2020 |
| Linux | patch Ubuntu 18.04.6 LTS (bionic) | 2.7.6-2ubuntu1.1 | [patch 2.7.6-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-patch-2.7.6-2ubuntu1.1.md) | Aug 15, 2019 |
| Linux | patch ol 8 | 0:2.7.6-11.el8 | [ELSA-2020-1852](https://patchblox.com/security/data/fix/linux/elsa-2020-1852.md) | May 5, 2020 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
