Skip to main content
VulnerabilityPublished Updated

CVE-2026-48813: Flawfinder is a a static analysis tool for finding vulnerabilities in C/C++ source code

Affects flawfinderSource GCVE Database

0
Compare
Authoritative record:CVE-2026-48813· High 8.7

Not known to be exploited · CVSS 8.7 High · fixed in 2.0.20 : patch flawfinder soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.20
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10flawfinderpkg:deb/ubuntu/flawfinder?arch=source&distro=stonkingOther threatsAffected
  • =2.0.19-1.1build1
  • =2.0.19-1.2
Fixed in–
Ubuntu 26.04 LTSflawfinderpkg:deb/ubuntu/flawfinder?arch=source&distro=resoluteOther threatsAffected
  • =2.0.19-1.1
  • =2.0.19-1.1build1
Fixed in–
Ubuntu 24.04 LTSflawfinderpkg:deb/ubuntu/flawfinder?arch=source&distro=nobleOther threatsAffected
  • =2.0.19-1.1
Fixed in–
Ubuntu 22.04 LTSflawfinderpkg:deb/ubuntu/flawfinder?arch=source&distro=jammyOther threatsAffected
  • =2.0.10-0.1
  • =2.0.19-1
  • =2.0.19-1.1
Fixed in–
Ubuntu 20.04 LTSflawfinderpkg:deb/ubuntu/flawfinder?arch=source&distro=focalOther threatsAffected
  • =1.31-1
  • =2.0.10-0.1
Fixed in–
Ubuntu 18.04 LTSflawfinderpkg:deb/ubuntu/flawfinder?arch=source&distro=bionicOther threatsAffected
  • =1.31-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…