{"id":"CVE-2024-0911","aliases":["AZL-57656","DEBIAN-CVE-2024-0911","EUVD-2024-16693","GHSA-ppj5-c4cc-c277","MGASA-2024-0122","OESA-2024-1199","SUSE-SU-2024:0965-1","SUSE-SU-2024:1134-1","UBUNTU-CVE-2024-0911","openSUSE-SU-2024:13700-1"],"status":"published","title":"Indent: heap-based buffer overflow in set_buf_break()","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00312,"percentile":0.24439,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-787"],"published":"2024-02-06T14:13:40Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Debian:12","package":"indent","fixed_in":["2.2.12-4+deb12u3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"indent","fixed_in":["2.2.13-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"indent","fixed_in":["2.2.13-4"],"sources":["osv"]},{"ecosystem":"Mageia:9","package":"indent","fixed_in":["2.2.13-1.2.mga9"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"indent","fixed_in":["2.2.11-30.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP4","package":"indent","fixed_in":["2.2.11-30.oe2003sp4"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS","package":"indent","fixed_in":["2.2.11-30.oe2203sp3"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP1","package":"indent","fixed_in":["2.2.11-30.oe2203sp1"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP2","package":"indent","fixed_in":["2.2.11-30.oe2203sp2"],"sources":["osv"]},{"ecosystem":"openEuler:22.03-LTS-SP3","package":"indent","fixed_in":["2.2.11-30.oe2203sp3"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","package":"indent","fixed_in":["2.2.11-150000.3.9.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.5","package":"indent","fixed_in":["2.2.11-150000.3.9.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"indent","fixed_in":["2.2.10-38.9.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"indent","fixed_in":["2.2.13-3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.2.13-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.12-4+deb12u3"}]}],"versions":["2.2.12-4","2.2.12-4+deb12u1","2.2.12-4+deb12u2"]},{"source":"osv","ecosystem":"Debian:13","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.13-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.13-4"}]}]},{"source":"osv","ecosystem":"Mageia:9","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.13-1.2.mga9"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-30.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-30.oe2003sp4"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-30.oe2203sp3"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-30.oe2203sp1"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-30.oe2203sp2"}]}]},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-30.oe2203sp3"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-150000.3.9.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.5","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.11-150000.3.9.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.10-38.9.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.11-4"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.11-5"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.12-1","2.2.12-1ubuntu0.20.04.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.12-1build1","2.2.12-1build2","2.2.12-1ubuntu0.22.04.1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"indent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.13-3.1"}]}]}],"products":[{"vendor":"gnu","product":"indent"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-0911","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2260399","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","report"]},{"url":"https://lists.gnu.org/archive/html/bug-indent/2024-01/msg00000.html","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIEHMOQDLPRTE4FDOA4X6PMOCNLK6BCP/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AYVDWBSJROWOWMPDVMVG4L5FGVJC5REN/","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0911","tags":["web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIEHMOQDLPRTE4FDOA4X6PMOCNLK6BCP"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AYVDWBSJROWOWMPDVMVG4L5FGVJC5REN"},{"url":"https://github.com/advisories/GHSA-ppj5-c4cc-c277"},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-0911","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0122.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33072","tags":["report"]},{"url":"https://lwn.net/Articles/968977/","tags":["web"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1199","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20240965-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1219210","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2024-0911","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20241134-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-0911","tags":["report"]},{"url":"https://lists.gnu.org/archive/html/bug-indent/2024-01/msg00001.html","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-0911","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-0911","title":"Indent: heap-based buffer overflow in set_buf_break()","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.","status":"published","published":"2024-02-06T14:13:40.491Z","modified":"2025-11-04T22:05:34.526Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:34:22.525279Z"}],"euvd":[{"id":"EUVD-2024-16693","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.","status":"published","published":"2024-02-06T14:13:40Z","modified":"2025-11-04T22:05:34Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T19:49:20.707326Z"}],"ghsa":[{"id":"GHSA-ppj5-c4cc-c277","title":"A flaw was found in Indent. This issue may allow a local user to use a specially-crafted file to...","description":"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.","status":"published","published":"2024-02-06T15:32:06Z","modified":"2025-11-05T00:31:17Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T15:04:38.82847Z"}],"nvd":[{"id":"CVE-2024-0911","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.","status":"published","published":"2024-02-06T15:15:08.827Z","modified":"2026-06-17T06:54:33.093Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:09:34.891666Z"}],"osv":[{"id":"AZL-57656","title":"CVE-2024-0911 affecting package indent 2.2.13-1","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.","status":"published","published":"2024-02-06T15:15:08Z","modified":"2026-11-05T05:36:30Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-05T16:41:21.162429Z"},{"id":"CVE-2024-0911","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.","status":"published","published":"2024-02-06T15:15:08.827Z","modified":"2026-04-16T04:39:31.48801183Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:37.180532Z"},{"id":"DEBIAN-CVE-2024-0911","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.","status":"published","published":"2024-02-06T15:15:08.827Z","modified":"2026-11-02T12:00:20.363147143Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:41.849198Z"},{"id":"OESA-2024-1199","title":"indent security update","description":"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.\r\n\r\nSecurity Fix(es):\r\n\r\nA 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)","status":"published","published":"2024-02-23T11:06:38Z","modified":"2026-08-18T01:18:16.243644403Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:40.71472Z"},{"id":"UBUNTU-CVE-2024-0911","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.","status":"published","published":"2024-02-06T15:15:00Z","modified":"2025-10-24T05:06:40Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:54:41.555387Z"},{"id":"MGASA-2024-0122","title":"Updated indent packages fix security vulnerability","description":"A flaw was found in indent, a program for formatting C code. This issue\nmay allow an attacker to trick a user into processing a specially\ncrafted file to trigger a heap-based buffer overflow, causing the\napplication to crash. (CVE-2024-0911)\n","status":"published","published":"2024-04-12T20:45:19Z","modified":"2026-04-16T04:44:10.566277091Z","updated_at":"2026-11-02T15:49:42.684501Z"},{"id":"openSUSE-SU-2024:13700-1","title":"indent-2.2.13-3.1 on GA media","description":"These are all security issues fixed in the indent-2.2.13-3.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:17:25.63193Z","updated_at":"2026-11-02T16:58:36.327643Z"},{"id":"SUSE-SU-2024:0965-1","title":"Security update for indent","description":"This update for indent fixes the following issues:\n\n- CVE-2024-0911: Fixed heap-based buffer overflow in set_buf_break() (bsc#1219210).\n","status":"published","published":"2024-03-21T16:20:23Z","modified":"2026-02-04T02:35:05.060653Z","updated_at":"2026-11-02T15:53:54.239786Z"},{"id":"SUSE-SU-2024:1134-1","title":"Security update for indent","description":"This update for indent fixes the following issues:\n\n- CVE-2024-0911: Fixed heap-based buffer overflow in set_buf_break() (bsc#1219210).\n","status":"published","published":"2024-04-08T09:29:35Z","modified":"2026-02-04T02:38:33.831671Z","updated_at":"2026-11-02T15:53:54.239786Z"}]}}
