CVE-2024-34158

HIGH7.5EPSS 0.16%

Stack exhaustion in Parse in go/build/constraint

Published: 9/6/2024Modified: 4/28/2026

Description

Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

Affected packages (4)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (7)