Skip to main content
Mallory
HighVulnerability

CVE-2024-1394: RSA Memory Leak in golang-fips/openssl

Published Mar 21, 2024 · Updated 4 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.9%80th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2024-1394CWE-401 · Missing Release of Memory after…

CVE-2024-1394 is a memory-leak vulnerability in the golang-fips/openssl RSA encryption and decryption implementation. The affected function uses named return parameters and deferred cleanup to release OpenSSL pkey and ctx objects when context initialization or property configuration fails. Error returns using the pattern "return nil, nil, fail(...)" overwrite those parameters before deferred cleanup executes, leaving allocated objects unreleased. Attacker-controlled inputs that repeatedly trigger these error paths can exhaust memory and cause denial of service.

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.

Repeated triggering of the leak can cause increasing memory consumption, degraded performance, process termination, and service disruption; sufficiently severe resource exhaustion may affect the host. No confidentiality or integrity impact is established. Red Hat assigns CVSS v3.1 7.5 with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Practical impact is lower for short-lived command-line utilities than for long-running services that repeatedly process untrusted inputs.

Mitigation

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

Red Hat states that no mitigation meets its product-security criteria. Interim exposure-reduction measures include restricting ingestion of untrusted RSA public keys, validating accepted keys for SP 800-56B compliance, and applying rate limits, request quotas, and memory controls around exposed RSA operations. These measures do not repair the memory leak or replace patching.

Remediation

Patch, then assume compromise.

Upgrade github.com/golang-fips/openssl/v2 to version 2.0.1 or later, or github.com/microsoft/go-crypto-openssl/openssl to version 0.2.9 or later, as applicable. For other affected module variants, use a release containing the corresponding fix; a specific first-fixed version is not established here. Apply vendor-provided updates to affected applications, Go toolchains, and container images, and rebuild dependent applications or images as appropriate. RHEL 8 fixes include grafana-pcp 5.1.1-2.el8_9 under RHSA-2024:1644 and Grafana 9.2.10-8.el8_9 under RHSA-2024:1646; select updates appropriate to the deployed product and lifecycle channel.

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-1394 exploited in the wild?
As of Nov 24, 2026, Mallory has no reports of CVE-2024-1394 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-1394?
As of Nov 24, 2026, Mallory has found no public exploit for CVE-2024-1394.
Is there a patch for CVE-2024-1394?
Upgrade github.com/golang-fips/openssl/v2 to version 2.0.1 or later, or github.com/microsoft/go-crypto-openssl/openssl to version 0.2.9 or later, as applicable. For other affected module variants, use a release containing the corresponding fix; a specific first-fixed version is not established here.
How severe is CVE-2024-1394?
CVE-2024-1394 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 1.9% (80th percentile) as of Nov 24, 2026.
Activity feed

Recent activity

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

View more in app →
+31 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.