7.5

CVE-2024-34158: Stack exhaustion in Parse in go/build/constraint

Deferred
AliasesUBUNTU-CVE-2024-34158DEBIAN-CVE-2024-34158CGA-222r-2v3m-phf7
Published 06-09-2024Last modified 04-10-2024

Vulnerability summary

CVE-2024-34158 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in go standard library go/build/constraint. EPSS estimates a 1.05% chance of exploitation in the next 30 days, higher than 64.2% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.05%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 37 · Related 862
MGASA-2024-0376OPENSUSE-SU-2024:14323-1OPENSUSE-SU-2024:14324-1OPENSUSE-SU-2025:0056-1RHSA-2024:6908RHSA-2024:6913

Showing 100 of 863.

Timeline

  1. 06-09-2024
    PublishedVulnerability first disclosed.
  2. 04-10-2024
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.05%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.05% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard199 products
  • aactl< 0.4.12-r18
  • actions-runner-controller< 0.9.3-r2
  • actions-runner-controller-compat< 0.9.3-r2
  • actions-runner-controller-fips< 0.9.3-r2
  • actions-runner-controller-fips-compat< 0.9.3-r2
Alpine1 product
  • go< 1.22.7-r0 | < 1.23.1-r0

2 vendors · 200 products · Showing 200 of 2202

References

16 links
Show all 16 references