CVEfocus › CVE database › CVE-2026-48813

CVE-2026-48813Flawfinder output manipulation via untrusted filenames and source text

CVSS 8.7 HighEPSS 0.4% (higher than 30% of CVEs)Published 2026-08-11Updated 2026-08-12Assigner: GitHub_M

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.

CWE-74

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10flawfinderFix pendingUBUNTU-CVE-2026-48813
Ubuntu 26.04flawfinderUnder investigationUBUNTU-CVE-2026-48813
Ubuntu 24.04flawfinderUnder investigationUBUNTU-CVE-2026-48813
Ubuntu 22.04flawfinderUnder investigationUBUNTU-CVE-2026-48813
Ubuntu 20.04flawfinderFix pendingUBUNTU-CVE-2026-48813
Ubuntu 18.04flawfinderFix pendingUBUNTU-CVE-2026-48813
Ubuntu 16.04flawfinderFix pendingUBUNTU-CVE-2026-48813
PyPI libraryflawfinderFixed2.0.20GHSA-4c3c-r6p8-c863

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.