Skip to content
OpenAdvisories
Medium SUSE-SU-2026:2922-1 3 CVEs

Security update for patch

Published Jul 13, 2026 · Updated Jul 15, 2026

Summary

This update for patch fixes the following issues

- CVE-2021-45261: Invalid Pointer via another_hunk function (bsc#1194037).
- 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 · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 patch 2.7.5-8.14.1

Vulnerabilities 3

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

  • Unscored —

    An Invalid Pointer vulnerability exists in GNU patch 2.7 via the another_hunk function, which causes a Denial of Servic…

References

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