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 bee…
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 bee…
Affected: openEuler:24.03-LTS-SP3: patch, openEuler:24.03-LTS-SP4: patch, openEuler:20.03-LTS-SP4: patch, openEuler:22.03-LTS-SP4: patch, openEuler:24.03-LTS-SP1: patch
Patch takes a patch file containing a difference listing produced by the diff program and applies those differences to one or more original files, producing patched versions. Security Fix(es):
GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified-dif…
patch-2.8-3.1 on GA media
patch: GNU patch: Denial of Service via specially crafted patch file
Security update for patch
Affected: Ubuntu:Pro:14.04:LTS: patch, Ubuntu:16.04:LTS: patch, Ubuntu:18.04:LTS: patch, Ubuntu:20.04:LTS: patch, Ubuntu:22.04:LTS: patch, Ubuntu:24.04:LTS: patch, Ubuntu:25.10: patch, Ubuntu:26.04:LTS: 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…
Ein Angreifer kann mehrere Schwachstellen in patch ausnutzen, um einen Denial of Service Angriff durchzuführen.