{"id":"CVE-2026-56288","aliases":["ALPINE-CVE-2026-56288","AZL-92154","BELL-CVE-2026-56288","CLSA-2026-1784218870","CLSA-2026-1784720743","DEBIAN-CVE-2026-56288","EUVD-2026-42556","GHSA-m3j2-9m66-r96h","JLSEC-2026-1260","MGASA-2026-0423","OESA-2026-3056","RHSA-2026:38019","SUSE-SU-2026:22604-1","SUSE-SU-2026:22651-1","SUSE-SU-2026:22905-1","SUSE-SU-2026:23210-1","SUSE-SU-2026:2922-1","SUSE-SU-2026:3161-1","UBUNTU-CVE-2026-56288","openSUSE-SU-2026:11260-1","openSUSE-SU-2026:21332-1"],"status":"published","title":"NULL Pointer Dereference in GNU patch","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","severity":{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00115,"percentile":0.01554,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2026-07-09T09:29:07Z","modified":"2026-11-05T05:40:51Z","fixes":[{"ecosystem":"Alpine:v3.24","package":"patch","fixed_in":["2.8.1-r0"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"patch","fixed_in":["2.7.6-10"],"sources":["osv"]},{"ecosystem":"Alpaquita:23","package":"patch","fixed_in":["2.7.6-r10"],"sources":["osv"]},{"ecosystem":"Alpaquita:25","package":"patch","fixed_in":["2.8.1-r0"],"sources":["osv"]},{"ecosystem":"Alpaquita:stream","package":"patch","fixed_in":["2.8.1-r0"],"sources":["osv"]},{"ecosystem":"BellSoft Hardened Containers:23","package":"patch","fixed_in":["2.7.6-r10"],"sources":["osv"]},{"ecosystem":"BellSoft Hardened Containers:25","package":"patch","fixed_in":["2.8.1-r0"],"sources":["osv"]},{"ecosystem":"BellSoft Hardened Containers:stream","package":"patch","fixed_in":["2.8.1-r0"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"patch","fixed_in":["0:2.8-4.3.hum1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.24","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-10"}]}]},{"source":"osv","ecosystem":"Alpaquita:23","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.6-r8"},{"fixed":"2.7.6-r10"}]}]},{"source":"osv","ecosystem":"Alpaquita:25","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8-r0"},{"fixed":"2.8.1-r0"}]}]},{"source":"osv","ecosystem":"Alpaquita:stream","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.6-r7"},{"fixed":"2.8.1-r0"}]}]},{"source":"osv","ecosystem":"BellSoft Hardened Containers:23","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.6-r8"},{"fixed":"2.7.6-r10"}]}]},{"source":"osv","ecosystem":"BellSoft Hardened Containers:25","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8-r0"},{"fixed":"2.8.1-r0"}]}]},{"source":"osv","ecosystem":"BellSoft Hardened Containers:stream","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.6-r7"},{"fixed":"2.8.1-r0"}]}]},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.6","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-16.el9_6.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-16.el9_2.tuxcare.els1"}]}],"bundled":2},{"source":"osv","ecosystem":"Debian:12","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.6-7","2.8-1","2.8-2","2.8.1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8-2","2.8.1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8-2","2.8.1-1"]},{"source":"osv","ecosystem":"Julia","package":"patch_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Mageia:10","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8-1.1.mga10"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP3","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-23.oe2403sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP4","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-23.oe2403sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-16.oe2003sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP4","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-16.oe2203sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:24.03-LTS-SP1","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-23.oe2403sp1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.8-4.3.hum1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.2","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-160000.4.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 16.0","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-160000.4.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-160000.4.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.1","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-slfo.1.1_2.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Micro 6.0","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-4.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.5-8.14.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-150000.5.12.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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","2.7.1-4ubuntu2.4+esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.5-1","2.7.5-1ubuntu0.16.04.1","2.7.5-1ubuntu0.16.04.2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.5-1build1","2.7.6-1","2.7.6-2ubuntu1","2.7.6-2ubuntu1.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.6-6"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.6-7","2.7.6-7build1","2.7.6-7build2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.6-7build2","2.7.6-7build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.6-7build3","2.8-1","2.8-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8-2build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8-2","2.8-2build1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8-3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"patch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-160000.4.1"}]}],"bundled":2}],"products":[{"vendor":"gnu","product":"patch"},{"vendor":"tanium","product":"patch"}],"references":[{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56288","tags":["third-party-advisory","Third Party Advisory","advisory","web","article","report"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/patch.git/","tags":["product","Patch","Product","web","article"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/patch.git/commit/?id=e6d6a4e021660679d7fc9150f981d4920f722313","tags":["patch","Patch","fix","web","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56288","tags":["web","advisory"]},{"url":"https://cgit.git.savannah.gnu.org/cgit/patch.git","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m3j2-9m66-r96h","tags":["web"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-56288","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2026-56288","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1784218870.html","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56289","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1784720743.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56288.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-56288","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0423.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35933","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/5MJXY435MLDAL5GXH6V5OY6MEMOGFEH5/","tags":["web"]},{"url":"https://cert.pl/en/posts/2026/07/CVE-2026-56288/","tags":["advisory"]},{"url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3056","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:38019","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56288","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_38019.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2498468","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56288","tags":["advisory","report"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622604-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1271166","tags":["report"]},{"url":"https://bugzilla.suse.com/1271167","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-56288","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-56289","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622651-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622905-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1194037","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-45261","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623210-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262922-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20263161-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-56288","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-56288","title":"NULL Pointer Dereference in GNU patch","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-07-09T09:29:07.947Z","modified":"2026-07-09T12:57:48.785Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T13:36:51.6229Z"}],"euvd":[{"id":"EUVD-2026-42556","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-07-09T09:29:07Z","modified":"2026-07-09T12:57:48Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T18:20:04.523855Z"}],"ghsa":[{"id":"GHSA-m3j2-9m66-r96h","title":"GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified...","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-07-09T12:30:28Z","modified":"2026-07-13T15:31:42Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T15:09:25.900925Z"}],"nvd":[{"id":"CVE-2026-56288","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-07-09T11:16:40.713Z","modified":"2026-10-25T17:10:00.197Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:12:28.4135Z"}],"osv":[{"id":"ALPINE-CVE-2026-56288","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-07-09T11:16:40.713Z","modified":"2026-11-05T01:30:03.027044008Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-05T01:42:21.768346Z"},{"id":"BELL-CVE-2026-56288","status":"published","published":"2026-07-11T06:04:33.84121Z","modified":"2026-10-31T07:15:04.094125894Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:24.657778Z"},{"id":"CVE-2026-56288","title":"NULL Pointer Dereference in GNU patch","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-07-09T09:29:07.947Z","modified":"2026-10-31T10:31:00.304307982Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T15:45:11.609219Z"},{"id":"DEBIAN-CVE-2026-56288","description":"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","status":"published","published":"2026-07-09T11:16:40.713Z","modified":"2026-10-26T12:02:37.083193129Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:57.590991Z"},{"id":"JLSEC-2026-1260","title":"GNU patch is vulnerable to a NULL pointer dereference when processing a specially crafted unified...","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-08-12T14:41:02.997Z","modified":"2026-08-12T14:58:45.558050079Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:47:18.159338Z"},{"id":"OESA-2026-3056","title":"patch security update","description":"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.\r\n\r\nSecurity Fix(es):\n\nGNU 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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313(CVE-2026-56288)\n\nGNU 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.\nThis results in excessive CPU consumption and prevents the process from completing.\nAn attacker can trigger this behavior by supplying a malicious patch file, causing the utility to become unresponsive and require manual termination.\n\n\n\nThis issue has been fixed in the commit faba04ef4f2b410257f76c1b9dc85e350929c4b9(CVE-2026-56289)","status":"published","published":"2026-07-19T11:11:56Z","modified":"2026-08-18T01:21:20.258385623Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T15:52:46.823443Z"},{"id":"RHSA-2026:38019","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","status":"published","published":"2026-08-22T10:23:15Z","modified":"2026-10-17T10:13:03Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:20.491441Z"},{"id":"UBUNTU-CVE-2026-56288","description":"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","status":"published","published":"2026-07-09T11:16:00Z","modified":"2026-10-17T12:59:09.942251391Z","cvss":[{"version":"4.0","score":4.6,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:56:41.382716Z"},{"id":"AZL-92154","title":"CVE-2026-56288 affecting package patch for versions less than 2.7.6-10","description":"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.\nAn attacker can trigger this condition with a malicious patch file, causing the utility to crash and resulting in a denial of service.\n\n\n\nThis issue has been fixed in the commit e6d6a4e021660679d7fc9150f981d4920f722313","status":"published","published":"2026-07-09T11:16:40Z","modified":"2026-11-05T05:40:51Z","updated_at":"2026-11-05T16:41:25.880689Z"},{"id":"CLSA-2026-1784218870","title":"patch: Fix of 2 CVEs","description":"- CVE-2026-56288: NULL pointer dereference via crafted unified-diff hunk (another_hunk)\n- CVE-2026-56289: Denial of service via infinite loop on null-range hunk offsets (locate_hunk)","status":"published","published":"2026-07-16T16:21:35Z","modified":"2026-10-26T09:31:16.593638658Z","updated_at":"2026-11-02T15:43:46.151924Z"},{"id":"CLSA-2026-1784720743","title":"patch: Fix of 2 CVEs","description":"- CVE-2026-56288: NULL pointer dereference via crafted unified-diff hunk (another_hunk)\n- CVE-2026-56289: Denial of service via infinite loop on null-range hunk offsets (locate_hunk)","status":"published","published":"2026-07-22T11:46:11Z","modified":"2026-10-26T09:30:28.400171722Z","updated_at":"2026-11-02T15:43:46.482572Z"},{"id":"MGASA-2026-0423","title":"Updated patch package fixes security vulnerabilities","description":"NULL Pointer Dereference in GNU patch. (CVE-2026-56288)\nLoop with Unreachable Exit Condition in GNU patch. (CVE-2026-56289)\n","status":"published","published":"2026-09-20T04:25:32Z","modified":"2026-09-20T04:30:03.002457696Z","updated_at":"2026-11-02T15:49:43.795591Z"},{"id":"openSUSE-SU-2026:11260-1","title":"patch-2.8-3.1 on GA media","description":"These are all security issues fixed in the patch-2.8-3.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-07-12T00:00:00Z","modified":"2026-07-13T09:00:09.948513774Z","updated_at":"2026-11-02T16:58:38.95195Z"},{"id":"openSUSE-SU-2026:21332-1","title":"Security update for patch","description":"This update for patch fixes the following issues\n\n- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).\n- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).\n","status":"published","published":"2026-07-13T19:26:45Z","modified":"2026-07-15T10:00:11.48674764Z","updated_at":"2026-11-02T16:58:41.885092Z"},{"id":"SUSE-SU-2026:22604-1","title":"Security update for patch","description":"This update for patch fixes the following issues\n\n- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).\n- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).\n","status":"published","published":"2026-07-13T19:27:22Z","modified":"2026-07-16T18:24:39.142047798Z","updated_at":"2026-11-02T15:54:03.080707Z"},{"id":"SUSE-SU-2026:22651-1","title":"Security update for patch","description":"This update for patch fixes the following issues\n\n- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).\n- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).\n","status":"published","published":"2026-07-13T19:27:22Z","modified":"2026-07-17T18:24:05.397697003Z","updated_at":"2026-11-02T15:54:03.080707Z"},{"id":"SUSE-SU-2026:22905-1","title":"Security update for patch","description":"This update for patch fixes the following issues\n\n- CVE-2021-45261: Invalid Pointer via another_hunk function (bsc#1194037).\n- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).\n- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).\n","status":"published","published":"2026-07-23T11:27:48Z","modified":"2026-07-28T18:24:19.465965006Z","updated_at":"2026-11-02T15:54:03.080707Z"},{"id":"SUSE-SU-2026:23210-1","title":"Security update for patch","description":"This update for patch fixes the following issues\n\n- CVE-2021-45261: Invalid Pointer via another_hunk function (bsc#1194037).\n- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).\n- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).\n","status":"published","published":"2026-08-18T11:03:59Z","modified":"2026-08-26T18:23:32.510012086Z","updated_at":"2026-11-02T15:54:03.503431Z"},{"id":"SUSE-SU-2026:2922-1","title":"Security update for patch","description":"This update for patch fixes the following issues\n\n- CVE-2021-45261: Invalid Pointer via another_hunk function (bsc#1194037).\n- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).\n- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).\n","status":"published","published":"2026-07-13T17:47:13Z","modified":"2026-07-15T10:00:04.826651529Z","updated_at":"2026-11-02T15:54:04.987808Z"},{"id":"SUSE-SU-2026:3161-1","title":"Security update for patch","description":"This update for patch fixes the following issues\n\n- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).\n- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).\n","status":"published","published":"2026-07-21T14:30:36Z","modified":"2026-07-22T09:30:06.030520126Z","updated_at":"2026-11-02T15:54:04.987808Z"}]}}
