Application crash via out-of-bounds heap read
Published Feb 6, 2024 · Updated Nov 4, 2025
Heap-based buffer overflow in GNU Indent 2.2.13 allows context-dependent attackers to crash the formatter via a crafted C source file. In set_buf_break in src/output.c, a comment followed by parentheses makes the formatter read a two-byte value four bytes before an allocated heap buffer. The user must run Indent on attacker-supplied source; the resulting memory fault aborts the local formatting process without a reported data impact.
Summary
What happened
Heap-based buffer overflow in GNU Indent 2.2.13 allows context-dependent attackers to crash the formatter via a crafted C source file. In set_buf_break in src/output.c, a comment followed by parentheses makes the formatter read a two-byte value four bytes before an allocated heap buffer. The user must run Indent on attacker-supplied source; the resulting memory fault aborts the local formatting process without a reported data impact.
The record
- CVE
- CVE-2024-0911
- Published
- Feb 6, 2024
- Updated
- Nov 4, 2025
- Vendor
- The GnuPG Project
- Product
- GNU Indent
- Classifications
- CWE-122, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 6, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.2.13
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Crafted GNU Indent crash inputproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo