Skip to main content
Mallory
HighVulnerability

CVE-2024-34156: Stack-exhaustion denial of service in Go encoding/gob

Published Sep 6, 2024 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.5High · v3.1
EPSS1.4%73rd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2024-34156CWE-674

CVE-2024-34156 is an uncontrolled-recursion vulnerability in the Go standard library's encoding/gob package. When Decoder.Decode processes a crafted message containing deeply nested structures, recursive decoding can exhaust the stack and cause a panic, terminating the affected application. Applications that decode attacker-controlled gob messages may consequently be vulnerable to remote denial of service. The vulnerability is a follow-up to CVE-2022-30635.

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 crash an affected application and render its services unavailable. The vulnerability has a high availability impact, with no identified confidentiality or integrity impact. It is rated CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H); actual network reachability depends on how the application exposes gob decoding.

Mitigation

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

Until fixed software can be deployed, do not decode gob data from untrusted sources. Restrict access to interfaces that accept gob-encoded messages to authenticated and trusted clients, enforce network segmentation, and apply application-layer input-size and structural-depth limits before invoking Decoder.Decode where feasible. Isolate decoder workloads and configure process supervision to reduce service disruption from a panic.

Remediation

Patch, then assume compromise.

Update to a Go release or vendor package containing the fix. For the Go 1.23 branch, update to version 1.23.1 or a later patched release, then rebuild and redeploy affected Go applications. For packaged applications and container images, install the applicable vendor security update. Examples include RHEL 9 Grafana 10.2.6-7.el9_5 and RHEL 8 osbuild-composer 101-2.el8_10. Account for vendor backports when assessing exposure; an older upstream version number alone does not establish that a vendor package remains vulnerable.

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.
FAQ

Frequently asked questions

Is CVE-2024-34156 exploited in the wild?
As of Nov 25, 2026, Mallory has no reports of CVE-2024-34156 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-34156?
As of Nov 25, 2026, Mallory has found no public exploit for CVE-2024-34156.
Is there a patch for CVE-2024-34156?
Update to a Go release or vendor package containing the fix. For the Go 1.23 branch, update to version 1.23.1 or a later patched release, then rebuild and redeploy affected Go applications.
How severe is CVE-2024-34156?
CVE-2024-34156 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.4% (73rd percentile) as of Nov 25, 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 activity1Community discussion across Reddit, Mastodon, and other social sources.