| Name | CVE-2023-40305 | 
| Description | GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 1049366 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| indent (PTS) | bullseye | 2.2.12-1+deb11u1 | fixed | 
|  | bookworm | 2.2.12-4+deb12u3 | fixed | 
|  | forky, sid, trixie | 2.2.13-7 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| indent | source | bullseye | 2.2.12-1+deb11u1 |  |  |  | 
| indent | source | bookworm | 2.2.12-4+deb12u2 |  |  |  | 
| indent | source | (unstable) | 2.2.13-3 |  |  | 1049366 | 
Notes
[buster] - indent <no-dsa> (Minor issue)
https://savannah.gnu.org/bugs/index.php?64503