Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | indent | 2.2.13 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | indent | 2.2.13-4 | — |
| Debian 13 | indent | 2.2.13-4 | — |
| Debian 12 | indent | 2.2.12-4+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | indent | No fix yet | — |
| Ubuntu 20.04 LTS | indent | No fix yet | — |
| Ubuntu 18.04 LTS | indent | No fix yet | — |
| Ubuntu 16.04 LTS | indent | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | indent | 2.2.11-150000.3.9.1 | SUSE-SU-2024:0965-1 |
| SLES 12 SP5 | indent | 2.2.10-38.9.1 | SUSE-SU-2024:1134-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | indent | 2.2.13-3.1 | openSUSE-SU-2024:13700-1 |
| openSUSE Leap 15.5 | indent | 2.2.11-150000.3.9.1 | SUSE-SU-2024:0965-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | indent | 2.2.12-7.amzn2023.0.6 | ALAS2023-2024-504 |
| Amazon Linux 2 | indent | 2.2.11-13.amzn2.0.4 | ALAS2-2024-2439 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | indent | No fix yet | — |
Advisories 5
- openSUSE-SU-2024:13700-1 indent-2.2.13-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1134-1 Security update for indent SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0965-1 Security update for indent SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2024-504 Low: indent security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 6, 2024
- ALAS2-2024-2439 Low: indent security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 1, 2024