CVE-2026-48813 Flawfinder output manipulation via untrusted filenames and source text
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Ubuntu
Description
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.
Upgrade path
6 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/flawfinder(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/flawfinder(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/flawfinder(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/flawfinder(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| pypi flawfinder(PyPI) | < 2.0.20; = 2.0.3; = 2.0.4; = 2.0.5 +12 more | 2.0.20 | Fixed |
| david-a-wheeler flawfinder | = < 2.0.20 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| david-a-wheeler flawfinder | = < 2.0.20 | No fix listed |
| pypi flawfinder(PyPI) | < 2.0.20 | 2.0.20 |
| pypi flawfinder(PyPI) | = 2.0.10 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.11 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.14 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.15 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.16 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.17 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.18 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.19 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.3 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.4 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.5 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.6 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.7 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.8 | No fix listed |
| pypi flawfinder(PyPI) | = 2.0.9 | No fix listed |
| ubuntu/flawfinder(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/flawfinder(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/flawfinder(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/flawfinder(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/david-a-wheeler/flawfinder/security/advisories/GHSA-4c3c-r6p8-c863 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- pypi.org product
- github.com vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2514323 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-56901 third-party-advisory