Approved changes feed: RSS · Atom
cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Gnu (575dd98a-a14a-5d9e-a2eb-97d38d86fcb9) |
|---|---|
| Product | Patch (30543349-3662-5a7f-ac1f-f5739cda3f5e) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:deb/debian/patch |
purl2cpe | 2026-06-01 10:11:55.112615 |
pkg:deb/ubuntu/patch |
purl2cpe | 2026-06-01 10:11:55.112619 |
pkg:github/mirror/patch |
purl2cpe | 2026-06-01 10:11:55.112621 |
pkg:gitlab/redhat/patch |
purl2cpe | 2026-06-01 10:11:55.112624 |
pkg:gnu/patch |
purl2cpe | 2026-06-01 10:11:55.112627 |
pkg:rpm/centos/patch |
purl2cpe | 2026-06-01 10:11:55.112629 |
pkg:rpm/fedora/patch |
purl2cpe | 2026-06-01 10:11:55.112632 |
pkg:rpm/opensuse/patch |
purl2cpe | 2026-06-01 10:11:55.112635 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-56289 |
vulnerable | 2026-07-29 01:00:29.058645 |
Loop with Unreachable Exit Condition in GNU patch
GNU patch is vulnerable to a denial of service (DoS) due to improper validation of hunk (single block of changes in diff) line offsets in unified-diff input. A specially crafted patch can specify an extremely large line number, causing the application to enter an effectively infinite processing loop while attempting to locate the requested position.
This results in excessive CPU consumption and prevents the process from completing.
An attacker can trigger this behavior by supplying a malicious patch file, causing the utility to become unresponsive and require manual termination.
This issue has been fixed in the commit faba04ef4f2b410257f76c1b9dc85e350929c4b9
Published: 2026-07-09T09:29:22.467Z
Updated: 2026-07-09T12:21:39.125Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-56288 |
vulnerable | 2026-07-29 01:00:29.058431 |
NULL Pointer Dereference in GNU patch
GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified-diff patch file. Improper handling of consecutive end-of-file newline markers can corrupt internal hunk (single block of changes in diff) data structures, causing the application to pass a NULL pointer to fwrite() during patch processing.
An attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.
This issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313
Published: 2026-07-09T09:29:07.947Z
Updated: 2026-07-09T12:57:48.785Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-20633 |
vulnerable | 2026-06-08 05:13:40.867288 |
Details available
GNU patch through 2.7.6 contains a free(p_line[p_end]) Double Free vulnerability in the function another_hunk in pch.c that can cause a denial of service via a crafted patch file. NOTE: this issue exists because of an incomplete fix for CVE-2018-6952.
Published: 2020-03-25T16:44:49.000Z
Updated: 2024-08-05T02:46:10.304Z Reference links |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2019-13636 |
vulnerable | 2026-06-08 05:12:52.238812 |
Details available
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.
Published: 2019-07-17T20:04:00.000Z
Updated: 2024-08-04T23:57:39.470Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-6952 |
vulnerable | 2026-06-08 05:11:54.492260 |
Details available
A double free exists in the another_hunk function in pch.c in GNU patch through 2.7.6.
Published: 2018-02-13T19:00:00.000Z
Updated: 2024-08-05T06:17:17.357Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-6951 |
vulnerable | 2026-06-08 05:11:54.491508 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2018-20969 |
vulnerable | 2026-06-08 05:11:28.255395 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2016-10713 |
vulnerable | 2026-06-08 05:07:25.620735 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2015-1396 |
vulnerable | 2026-06-08 05:06:25.541326 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2015-1395 |
vulnerable | 2026-06-08 05:06:25.540837 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2014-9637 |
vulnerable | 2026-06-08 05:06:12.275534 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.