Every CVE Search/ Get API key

CVE-2024-0911

Indent: heap-based buffer overflow in set_buf_break()

5.5 MediumFix available

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

0.31%Up 0.3 points since Feb 8, 2024
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1
5.5 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1
5.5 MediumCVSS: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

Affected packages
PackageAffectedFixed
indent
Azure Linux:3
through 2.2.13-1 None known
indent
Debian: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
indent
Debian:13
before 2.2.13-4
2.2.13-4
indent
Debian:14
before 2.2.13-4
2.2.13-4
indent
Mageia:9
before 2.2.13-1.2.mga9
2.2.13-1.2.mga9
indent
openEuler:20.03-LTS-SP1
before 2.2.11-30.oe1
2.2.11-30.oe1
indent
openEuler:20.03-LTS-SP4
before 2.2.11-30.oe2003sp4
2.2.11-30.oe2003sp4
indent
openEuler:22.03-LTS
before 2.2.11-30.oe2203sp3
2.2.11-30.oe2203sp3
indent
openEuler:22.03-LTS-SP1
before 2.2.11-30.oe2203sp1
2.2.11-30.oe2203sp1
indent
openEuler:22.03-LTS-SP2
before 2.2.11-30.oe2203sp2
2.2.11-30.oe2203sp2
Show 9 moreShow less
Affected packages
PackageAffectedFixed
indent
openEuler:22.03-LTS-SP3
before 2.2.11-30.oe2203sp3
2.2.11-30.oe2203sp3
indent
SUSE:Linux Enterprise Module for Development Tools 15 SP5
before 2.2.11-150000.3.9.1
2.2.11-150000.3.9.1
indent
openSUSE:Leap 15.5
before 2.2.11-150000.3.9.1
2.2.11-150000.3.9.1
indent
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 2.2.10-38.9.1
2.2.10-38.9.1
indent
Ubuntu:16.04:LTS
All versions, plus listed versions
2.2.11-4
None known
indent
Ubuntu:18.04:LTS
All versions, plus listed versions
2.2.11-5
None known
indent
Ubuntu:20.04:LTS
All versions, plus listed versions
2.2.12-12.2.12-1ubuntu0.20.04.1
None known
indent
Ubuntu:22.04:LTS
All versions, plus listed versions
2.2.12-1build12.2.12-1build22.2.12-1ubuntu0.22.04.1
None known
indent
openSUSE:Tumbleweed
before 2.2.13-3.1
2.2.13-3.1

History

History
RecordedChangedSources
factsOSV
first indexedCVE 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

Show 13 moreShow less
MoveEnter Open