{"id":"GO-2024-3107","revision":"51495dd5299a4bc792ac15ff60f6937a","records":[{"revision":"51495dd5299a4bc792ac15ff60f6937a","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-3107","aliases":["BIT-golang-2024-34158","CVE-2024-34158"],"title":"Stack exhaustion in Parse in go/build/constraint","description":"Calling Parse on a \"// +build\" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.","state":0,"publishedAt":"2024-09-06T19:15:23+00:00","modifiedAt":"2026-08-05T10:56:57.2902416+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.22.7"},{"kind":"introduced","version":"1.23.0-0"},{"kind":"fixed","version":"1.23.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/cl/611240","https://go.dev/issue/69141","https://groups.google.com/g/golang-dev/c/S9POB9NCTdk"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-3107","license":"OSV · upstream source license applies","key":"osv:GO-2024-3107","identifiers":["GO-2024-3107","BIT-golang-2024-34158","CVE-2024-34158"]},"retained":false,"historicalAffected":[]}],"coverage":[]}