# CVE-2024-34155: Stack exhaustion in all Parse functions in go/parser

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2024-09-06T19:15:23.000Z
- Modified: 2026-06-17T07:33:00.587Z
- Also known as: GO-2024-3105, BIT-GOLANG-2024-34155
- Related: CGA-xc4m-wx96-8cfw, RHSA-2024:6908, RHSA-2024:6913, RHSA-2024:8038, RHSA-2024:8039, RHSA-2024:8112, RHSA-2024:8232, RHSA-2024:8263, RHSA-2024:8428, RHSA-2024:8690, RHSA-2024:8694, RHSA-2024:8700, RHSA-2024:9454, RHSA-2024:9459
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.

(As written by CVE List.)

## Affected

- go/parser: before 1.22.7; from 1.23.0-0 before 1.23.1
- stdlib (Go): before 1.22.7; from 1.23.0-0 before 1.23.1
- golang (Bitnami): before 1.22.7; from 1.23.0-0 before 1.23.1

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/cl/611238> (fix, web)
- <https://go.dev/issue/69138> (report, web)
- <https://groups.google.com/g/golang-dev/c/S9POB9NCTdk> (web)
- <https://pkg.go.dev/vuln/GO-2024-3105> (web)
- <https://security.netapp.com/advisory/ntap-20240926-0005/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34155> (web)

## Sources

- CVE List: [CVE-2024-34155](https://www.cve.org/CVERecord?id=CVE-2024-34155), CVE Terms of Use, modified 2024-11-04
- Go Vulnerability Database: [GO-2024-3105](https://pkg.go.dev/vuln/GO-2024-3105), CC-BY-4.0, modified 2026-02-24
- NVD: [CVE-2024-34155](https://nvd.nist.gov/vuln/detail/CVE-2024-34155), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2024-34155](https://osv.dev/vulnerability/BIT-GOLANG-2024-34155), Apache-2.0, modified 2025-05-20

---

Page: https://cve.day/CVE-2024-34155 · Whole record: https://cve.day/CVE-2024-34155.json · Rebuilt by cve.day 2026-11-25T22:58:45.147Z
