CVE-2026-48813
CVE-2026-48813 · Flawfinder output manipulation via untrusted filenames and source text
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
Flawfinder is a a static analysis tool for finding vulnerabilities in C/C++ source code. Versions prior to 2.0.20 have an improper input neutralization issue leading to output manipulation, specifically, Terminal/ANSI Escape Sequence Injection and XML Injection. A malicious file whose name contains ANSI escape sequences can end up being included in flawfinder's standard terminal output, with many effects. Untrusted fields (such as filenames, categories, or code context text) were not properly sanitized when generating structured reports. An attacker could exploit this to corrupt CSV formats or inject arbitrary XML attributes into SonarQube outputs via output_sonar(). It impacts those who use flawfinder to evaluate intentionally malicious filenames or file contents. This issue has been fully patched in Version 2.0.20 (released 2026-05-16). There is no configuration-based workaround within older versions of flawfinder. If an immediate upgrade is not possible, users can mitigate the risk by pre-scanning filenames, inspecting raw output, and/or restricting untrusted inputs.
CVSS 8.7 · Alta · EPSS 0,4% · Código de explotación público · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · python
Productos y versiones afectados
flawfinder
- Versiones
- < 2.0.20: Afectada
Sin corrección publicada
flawfinder PyPI
- Versiones
- 2.0.10
- 2.0.11
- 2.0.14
- 2.0.15
- 2.0.16
- 2.0.17
- 2.0.18
- 2.0.19
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
- 2.0.7
- 2.0.8
- 2.0.9
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.0.20
Actualiza a 2.0.20
flawfinder Ubuntu:16.04:LTS
- Versiones
- 1.31-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
flawfinder Ubuntu:18.04:LTS
- Versiones
- 1.31-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
flawfinder Ubuntu:20.04:LTS
- Versiones
- 1.31-1
- 2.0.10-0.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
flawfinder Ubuntu:22.04:LTS
- Versiones
- 2.0.10-0.1
- 2.0.19-1
- 2.0.19-1.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
flawfinder Ubuntu:24.04:LTS
- Versiones
- 2.0.19-1.1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
flawfinder Ubuntu:26.10
- Versiones
- 2.0.19-1.1build1
- 2.0.19-1.2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
flawfinder Ubuntu:26.04:LTS
- Versiones
- 2.0.19-1.1
- 2.0.19-1.1build1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada