CVE-2024-0911
Indent: heap-based buffer overflow in set_buf_break()
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.5
Indent: heap-based buffer overflow in set_buf_break()
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.
- Record
CVE-2024-0911- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-122
- Updated
- 2026-11-02
EUVDEUVD-2024-16693
5.5
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.
- Record
EUVD-2024-16693- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-ppj5-c4cc-c277
5.5
A flaw was found in Indent. This issue may allow a local user to use a specially-crafted file to...
A flaw was found in Indent. This issue may allow a local user to use a specially-crafted file to trigger a heap-based buffer overflow, which can lead to an application crash.
- Record
GHSA-ppj5-c4cc-c277- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2024-0911- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-122, CWE-787
- Updated
- 2026-11-02
OSVAZL-57656
5.5
CVE-2024-0911 affecting package indent 2.2.13-1
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.
- Record
AZL-57656- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
OSV
5.5
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.
- Record
CVE-2024-0911- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2024-0911
5.5
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.
- Record
DEBIAN-CVE-2024-0911- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2024-1199
5.5
indent security update
The indent program can be used to make code easier to read. It can also convert from one style of writing C to another. indent understands a substantial amount about the syntax of C, but it also attempts to cope with incomplete and misformed syntax.
Security Fix(es):
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.(CVE-2024-0911)
- Record
OESA-2024-1199- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-0911
5.5
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.
- Record
UBUNTU-CVE-2024-0911- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2024-0122 No score
Updated indent packages fix security vulnerability
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. (CVE-2024-0911)
- Record
MGASA-2024-0122- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13700-1 No score
indent-2.2.13-3.1 on GA media
These are all security issues fixed in the indent-2.2.13-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13700-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:0965-1 No score
Security update for indent
This update for indent fixes the following issues:
- CVE-2024-0911: Fixed heap-based buffer overflow in set_buf_break() (bsc#1219210).
- Record
SUSE-SU-2024:0965-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:1134-1 No score
Security update for indent
This update for indent fixes the following issues:
- CVE-2024-0911: Fixed heap-based buffer overflow in set_buf_break() (bsc#1219210).
- Record
SUSE-SU-2024:1134-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
indentAzure Linux:3 |
through 2.2.13-1 | None known |
indentDebian:12 |
before 2.2.12-4+deb12u3, plus listed versions 2.2.12-42.2.12-4+deb12u12.2.12-4+deb12u2 |
2.2.12-4+deb12u3 |
indentDebian:13 |
before 2.2.13-4 | 2.2.13-4 |
indentDebian:14 |
before 2.2.13-4 | 2.2.13-4 |
indentMageia:9 |
before 2.2.13-1.2.mga9 | 2.2.13-1.2.mga9 |
indentopenEuler:20.03-LTS-SP1 |
before 2.2.11-30.oe1 | 2.2.11-30.oe1 |
indentopenEuler:20.03-LTS-SP4 |
before 2.2.11-30.oe2003sp4 | 2.2.11-30.oe2003sp4 |
indentopenEuler:22.03-LTS |
before 2.2.11-30.oe2203sp3 | 2.2.11-30.oe2203sp3 |
indentopenEuler:22.03-LTS-SP1 |
before 2.2.11-30.oe2203sp1 | 2.2.11-30.oe2203sp1 |
indentopenEuler:22.03-LTS-SP2 |
before 2.2.11-30.oe2203sp2 | 2.2.11-30.oe2203sp2 |
Show 9 moreShow less
| Package | Affected | Fixed |
|---|---|---|
indentopenEuler:22.03-LTS-SP3 |
before 2.2.11-30.oe2203sp3 | 2.2.11-30.oe2203sp3 |
indentSUSE:Linux Enterprise Module for Development Tools 15 SP5 |
before 2.2.11-150000.3.9.1 | 2.2.11-150000.3.9.1 |
indentopenSUSE:Leap 15.5 |
before 2.2.11-150000.3.9.1 | 2.2.11-150000.3.9.1 |
indentSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 2.2.10-38.9.1 | 2.2.10-38.9.1 |
indentUbuntu:16.04:LTS |
All versions, plus listed versions 2.2.11-4 |
None known |
indentUbuntu:18.04:LTS |
All versions, plus listed versions 2.2.11-5 |
None known |
indentUbuntu:20.04:LTS |
All versions, plus listed versions 2.2.12-12.2.12-1ubuntu0.20.04.1 |
None known |
indentUbuntu:22.04:LTS |
All versions, plus listed versions 2.2.12-1build12.2.12-1build22.2.12-1ubuntu0.22.04.1 |
None known |
indentopenSUSE:Tumbleweed |
before 2.2.13-3.1 | 2.2.13-3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-0911 is a medium vulnerability (CVSS 5.5) in Gnu Indent, published February 6, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.31%, the 24th percentile. Fixed in indent 2.2.12-4+deb12u3.
References
access.redhat.com/security/cve/CVE-2024-0911
bugzilla.redhat.com/show_bug.cgi?id=2260399
lists.gnu.org/archive/html/bug-indent/2024-01/msg00000.html
lists.fedoraproject.org/archives/list/[email protected]/message/GIEHMOQDLPRTE4FDOA4X6PMOCNLK6BCP
lists.fedoraproject.org/archives/list/[email protected]/message/AYVDWBSJROWOWMPDVMVG4L5FGVJC5REN
nvd.nist.gov/vuln/detail/CVE-2024-0911
Show 13 moreShow less
github.com/advisories/GHSA-ppj5-c4cc-c277
security-tracker.debian.org/tracker/CVE-2024-0911
advisories.mageia.org/MGASA-2024-0122.html
bugs.mageia.org/show_bug.cgi?id=33072
lwn.net/Articles/968977
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1199
suse.com/support/update/announcement/2024/suse-su-20240965-1
bugzilla.suse.com/1219210
suse.com/security/cve/CVE-2024-0911
suse.com/support/update/announcement/2024/suse-su-20241134-1
ubuntu.com/security/CVE-2024-0911
lists.gnu.org/archive/html/bug-indent/2024-01/msg00001.html
cve.org/CVERecord?id=CVE-2024-0911