UBUNTU-CVE-2026-48813

Source
https://ubuntu.com/security/CVE-2026-48813
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48813.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-48813
Upstream
Published
2026-08-13T00:00:00Z
Modified
2026-08-13T19:30:19.897142068Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:16.04:LTS
flawfinder

Package

Name
flawfinder
Purl
pkg:deb/ubuntu/flawfinder?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.31-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.31-1",
            "binary_name": "flawfinder"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48813.json"
Ubuntu:18.04:LTS
flawfinder

Package

Name
flawfinder
Purl
pkg:deb/ubuntu/flawfinder?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.31-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.31-1",
            "binary_name": "flawfinder"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48813.json"
Ubuntu:20.04:LTS
flawfinder

Package

Name
flawfinder
Purl
pkg:deb/ubuntu/flawfinder?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.31-1
2.*
2.0.10-0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.0.10-0.1",
            "binary_name": "flawfinder"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48813.json"
Ubuntu:22.04:LTS
flawfinder

Package

Name
flawfinder
Purl
pkg:deb/ubuntu/flawfinder?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.10-0.1
2.0.19-1
2.0.19-1.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.0.19-1.1",
            "binary_name": "flawfinder"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48813.json"
Ubuntu:24.04:LTS
flawfinder

Package

Name
flawfinder
Purl
pkg:deb/ubuntu/flawfinder?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.19-1.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.0.19-1.1",
            "binary_name": "flawfinder"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48813.json"
Ubuntu:26.04:LTS
flawfinder

Package

Name
flawfinder
Purl
pkg:deb/ubuntu/flawfinder?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.19-1.1
2.0.19-1.1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.0.19-1.1build1",
            "binary_name": "flawfinder"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48813.json"