Skip to main content
Mallory
HighVulnerability

CVE-2022-41715: Memory exhaustion in Go regular-expression parsing

Published Oct 14, 2022 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 1 in a dayToday
CVSS7.5High · v3.1
EPSS1.6%76th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Golang
IdentifiersCVE-2022-41715CWE-400

CVE-2022-41715 is an excessive-memory-consumption vulnerability in Go's regular-expression syntax parser. Applications that compile regular expressions from untrusted sources can allocate disproportionately large amounts of memory while constructing the parsed representation. Although representation size grows linearly with input size, the constant factor can reach approximately 40,000, allowing relatively small expressions to cause memory exhaustion and denial of service. The fix limits each expression being parsed to a 256 MB memory footprint and rejects expressions exceeding that limit.

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.

Successful exploitation can exhaust memory and disrupt the affected Go application or service. No confidentiality or integrity impact is identified. In OpenShift deployments, the impact is constrained to the affected container, with garbage collection and container and cluster resource controls limiting sustained effects.

Mitigation

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

Prevent untrusted users from supplying regular expressions for compilation, or restrict access to that functionality until updates are deployed. Enforce container memory limits and cluster resource controls to constrain the impact of memory exhaustion. These controls limit exposure or contain disruption but do not correct the parser vulnerability.

Remediation

Patch, then assume compromise.

Update to a fixed Go release, including Go 1.18.7 or 1.19.2, or a subsequent supported release containing the fix, and rebuild and redeploy affected applications. For vendor-distributed applications and container images, install the corresponding vendor security updates. The corrected parser rejects expressions whose parsed representation would exceed 256 MB. Account for vendor backports when assessing package versions.

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-2022-41715 exploited in the wild?
As of Nov 23, 2026, Mallory has no reports of CVE-2022-41715 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2022-41715?
As of Nov 23, 2026, Mallory has found no public exploit for CVE-2022-41715.
Is there a patch for CVE-2022-41715?
Update to a fixed Go release, including Go 1.18.7 or 1.19.2, or a subsequent supported release containing the fix, and rebuild and redeploy affected applications. For vendor-distributed applications and container images, install the corresponding vendor security updates.
What products are affected by CVE-2022-41715?
Golang Go.
How severe is CVE-2022-41715?
CVE-2022-41715 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.6% (76th percentile) as of Nov 23, 2026.
Activity feed

Recent activity

43 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+39 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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.