SecurityContext

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

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://savannah.gnu.org/bugs/index.php?64503nvd2023-08-14

References

Same in every row:

  • Source: nvd
UrlTags
https://savannah.gnu.org/bugs/index.php?64503Exploit, Issue Tracking, Vendor Advisory
https://ftp.gnu.org/gnu/indent/Product
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3W6SL3NKMH5R4S5PD2O3MTC2UR4SBVHK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4MIUH3F63KQJWYR3FLKRZUYYRJOY6FYX/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OB6GB6FUFPV5VJAZIANDG4YNNDW6JNXX/

Products

ProductAffectedPlatform boundSourcesUrl
gnu:indent= 2.2.13nonvd/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