p PatchFirst

CVE-2026-56289

CVE-2026-56289 · Loop with Unreachable Exit Condition in GNU patch

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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

CVSS 4.6 · Mittel · EPSS 0,1%

Veröffentlicht
Aktualisiert

Technologie-Stack: system

Betroffene Produkte und Versionen

  • patch

    Softwareversionen
    • ≥ 0, ≤ 2.8.0: Betroffen (semver)

    Keine Korrektur veröffentlicht

  • patch Debian:12

    Softwareversionen
    • 2.7.6-7
    • 2.8-1
    • 2.8-2
    • 2.8.1-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Debian:13

    Softwareversionen
    • 2.8-2
    • 2.8.1-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Debian:14

    Softwareversionen
    • 2.8-2
    • 2.8.1-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:Pro:14.04:LTS

    Softwareversionen
    • 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
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:16.04:LTS

    Softwareversionen
    • 2.7.5-1
    • 2.7.5-1ubuntu0.16.04.1
    • 2.7.5-1ubuntu0.16.04.2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:18.04:LTS

    Softwareversionen
    • 2.7.5-1build1
    • 2.7.6-1
    • 2.7.6-2ubuntu1
    • 2.7.6-2ubuntu1.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:20.04:LTS

    Softwareversionen
    • 2.7.6-6
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:22.04:LTS

    Softwareversionen
    • 2.7.6-7
    • 2.7.6-7build1
    • 2.7.6-7build2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:24.04:LTS

    Softwareversionen
    • 2.7.6-7build2
    • 2.7.6-7build3
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:25.10

    Softwareversionen
    • 2.7.6-7build3
    • 2.8-1
    • 2.8-2
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:26.10

    Softwareversionen
    • 2.8-2build1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • patch Ubuntu:26.04:LTS

    Softwareversionen
    • 2.8-2
    • 2.8-2build1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →