CVE-2023-40305: GNU indent - Buffer Overflow
- Cve: CVE-2023-40305
- Name: GNU indent - Buffer Overflow
- Description: GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file.
- Impact: Attackers can execute arbitrary code or cause denial of service by exploiting this buffer overflow.
- Remediation: Update to the latest version of GNU indent where the vulnerability is fixed.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.00443
- Epss percentile: 0.39241
- Assignee: [email protected]
- Published at: 2023-08-14T06:15:09Z
- Age in days: 1198
- Modified at: 2026-06-17T06:17:10Z
- Public exploits total: 1
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-40305
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://savannah.gnu.org/bugs/index.php?64503 | nvd | 2023-08-14 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gnu:indent | = 2.2.13 | no | nvd | /v1/products/gnu/indent |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-08-14
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts