Buffer overflow in Gnu Indent

CVE-2023-40305

GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (34.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

  • Gnu Indent — versions 2.2.13
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-40305?
CVE-2023-40305 is a medium-severity vulnerability in Gnu Indent, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2023-08-14.
How severe is CVE-2023-40305?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2023-40305 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.