Skip to content
OpenAdvisories
Medium · 5.5 CVE-2024-0911 EUVD-2024-16693GHSA-ppj5-c4cc-c277

Indent: heap-based buffer overflow in set_buf_break()

Published Feb 6, 2024 · Updated Nov 4, 2025 · Assigned by fedora

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
Debian 14 indent 2.2.13-4 —
Debian 13 indent 2.2.13-4 —
Debian 12 indent 2.2.12-4+deb12u3 —
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 indent No fix yet —

Advisories 5

References