CVE-2026-56289
CVE-2026-56289 · Loop with Unreachable Exit Condition in GNU patch
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 · Media · EPSS 0,1%
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
patch
- Versiones
- ≥ 0, ≤ 2.8.0: Afectada (semver)
Sin corrección publicada
patch Debian:12
- Versiones
- 2.7.6-7
- 2.8-1
- 2.8-2
- 2.8.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Debian:13
- Versiones
- 2.8-2
- 2.8.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Debian:14
- Versiones
- 2.8-2
- 2.8.1-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:Pro:14.04:LTS
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:16.04:LTS
- Versiones
- 2.7.5-1
- 2.7.5-1ubuntu0.16.04.1
- 2.7.5-1ubuntu0.16.04.2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:18.04:LTS
- Versiones
- 2.7.5-1build1
- 2.7.6-1
- 2.7.6-2ubuntu1
- 2.7.6-2ubuntu1.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:20.04:LTS
- Versiones
- 2.7.6-6
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:22.04:LTS
- Versiones
- 2.7.6-7
- 2.7.6-7build1
- 2.7.6-7build2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:24.04:LTS
- Versiones
- 2.7.6-7build2
- 2.7.6-7build3
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:25.10
- Versiones
- 2.7.6-7build3
- 2.8-1
- 2.8-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:26.10
- Versiones
- 2.8-2build1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
patch Ubuntu:26.04:LTS
- Versiones
- 2.8-2
- 2.8-2build1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada