{"cve":"CVE-2026-48813","nvd":{"published":"2026-08-11T20:17:43.207","modified":"2026-09-09T20:55:04.493","status":"Deferred","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.","cvss_v4":{"vector":"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","score":8.7},"cvss_v3":null,"cwes":["CWE-74"],"references":["https://github.com/david-a-wheeler/flawfinder/security/advisories/GHSA-4c3c-r6p8-c863"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:48:17.459049833+00:00"},"epss":{"cve":"CVE-2026-48813","score":0.00444,"percentile":0.38597,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4c3c-r6p8-c863","url":"https://osv.dev/vulnerability/GHSA-4c3c-r6p8-c863","summary":"Flawfinder output manipulation via untrusted filenames and source text","modified":"2026-08-11T19:30:07.767568045Z","packages":[{"ecosystem":"PyPI","name":"flawfinder","purl":"pkg:pypi/flawfinder","ranges":["<2.0.20"],"fixed":["2.0.20"]}]},{"id":"PYSEC-2026-2480","url":"https://osv.dev/vulnerability/PYSEC-2026-2480","summary":"Flawfinder output manipulation via untrusted filenames and source text","modified":"2026-07-13T16:31:47.282976663Z","packages":[{"ecosystem":"PyPI","name":"flawfinder","purl":"pkg:pypi/flawfinder","ranges":["<2.0.20"],"fixed":["2.0.20"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}