PoC Monitor
← All CVEs
CVE-2026-48813published 11 Aug 2026 19:24 UTCData: JSON · API

Flawfinder

Flawfinder output manipulation via untrusted filenames and source text

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.

First public PoC 86 days beforebefore publication · 17 May 2026
Public PoCs11 on GitHub
CVSS8.7high · scored by CNA · CWE-74
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

david-a-wheeler flawfinder
  • < 2.0.20

Fixed in 2.0.20

Mitigation

Upgrade flawfinder to 2.0.20 or later.

References

Timeline

Days relative to CVE publication
-84-70-56-42-28-14t=0First public PoC17 May 2026 · t−86dCVE published11 Aug 2026 · t = 0

First public PoC 86 days before publication; not in CISA KEV. First PoC: 7alen7/CVE-2026-48813-POC (created 17 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
7alen7/CVE-2026-48813-POC 17 May 2026 −86 d 1 PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.