Skip to content
OpenAdvisories
Medium SUSE-SU-2026:22604-1 2 CVEs

Security update for patch

Published Jul 13, 2026 · Updated Jul 16, 2026

Summary

This update for patch fixes the following issues

- CVE-2026-56288: crafted unified-diff patch file can cause null pointer derefence (bsc#1271167).
- CVE-2026-56289: improper validation of hunk line offsets can lead to denial of service (bsc#1271166).

Fixed packages 1

ReleasePackageFixed in
SUSE · SLE Micro 6.2 Linux Micro 6.2 patch 2.7.6-160000.4.1

Vulnerabilities 2

  • Medium 4.6

    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, causin…

  • Medium 4.6

    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 ente…

References

  • report
    https://bugzilla.suse.com/1271166
  • report
    https://bugzilla.suse.com/1271167
  • web
    https://www.suse.com/security/cve/CVE-2026-56288
  • web
    https://www.suse.com/security/cve/CVE-2026-56289