CVEfocus › CVE database › CVE-2024-0911

CVE-2024-0911Indent: heap-based buffer overflow in set_buf_break()

CVSS 5.5 MediumEPSS 0.4% (higher than 24% of CVEs)Published 2024-02-06Updated 2025-11-04Assigner: fedora

A flaw was found in indent, a program for formatting C code. This issue may allow an attacker to trick a user into processing a specially crafted file to trigger a heap-based buffer overflow, causing the application to crash.

CWE-122

What to do

Fixed builds are available from Debian: 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

3Fixed
4Fix pending
1Under investigation
2Will not fix
3Not affected

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.04indentNot affected
vulnerable_code_not_present
Ubuntu 25.10indentNot affected
vulnerable_code_not_present
Ubuntu 24.04indentNot affected
vulnerable_code_not_present
Ubuntu 22.04indentUnder investigationUBUNTU-CVE-2024-0911
Ubuntu 20.04indentFix pendingUBUNTU-CVE-2024-0911
Ubuntu 18.04indentFix pendingUBUNTU-CVE-2024-0911
Ubuntu 16.04indentFix pendingUBUNTU-CVE-2024-0911
Ubuntu 14.04indentFix pending
Debian 14indentFixed2.2.13-4DEBIAN-CVE-2024-0911
Debian 13indentFixed2.2.13-4DEBIAN-CVE-2024-0911
Debian 12indentFixed2.2.12-4+deb12u3DEBIAN-CVE-2024-0911
Red Hat Enterprise Linux 7indentWill not fix
Out of support scope
Red Hat Enterprise Linux 6indentWill not fix
Out of support scope

What the vendor says

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

Workaround: Do not process untrusted files with the indent program.

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.