Skip to main content
Mallory
HighVulnerability

CVE-2023-24537: Infinite Loop in Go go/parser Parse Functions

Published Apr 6, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS1.5%75th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Golang
IdentifiersCVE-2023-24537CWE-835

CVE-2023-24537 is a denial-of-service vulnerability in Go's source-code parser. Go Parse functions can enter an infinite loop when processing Go source containing a //line directive with an excessively large line number. Integer overflow during line-number handling prevents the parser loop from reaching its exit condition.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An unauthenticated remote attacker able to submit crafted Go source to an application that invokes the affected parsing functions can cause sustained CPU consumption and render the parsing service or affected application unresponsive. The issue has no known confidentiality or integrity impact and does not provide code execution.

Mitigation

If you can’t patch tonight, do this now.

Do not parse untrusted Go source with vulnerable Go versions. Until patched, restrict parsing inputs to trusted users, reject or sanitize //line directives and implausibly large line-number values before parsing where feasible, and enforce execution timeouts and CPU/resource limits around parsing operations to contain denial-of-service impact.

Remediation

Patch, then assume compromise.

Upgrade Go to version 1.19.8, 1.20.3, or a later fixed release. For vendor-packaged Go runtimes and products embedding Go, apply the vendor security update that incorporates the upstream fix.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
GolangGoapplication
FAQ

Frequently asked questions

Is CVE-2023-24537 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-24537 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-24537?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2023-24537.
Is there a patch for CVE-2023-24537?
Upgrade Go to version 1.19.8, 1.20.3, or a later fixed release. For vendor-packaged Go runtimes and products embedding Go, apply the vendor security update that incorporates the upstream fix.
What products are affected by CVE-2023-24537?
Golang Go.
How severe is CVE-2023-24537?
CVE-2023-24537 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.5% (75th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.