CVE-2024-1394: Golang-fips/openssl: memory leaks in code encrypting and decrypting rsa payloads
Vulnerability summary
CVE-2024-1394 is a high (CVSS 7.5) vulnerability in go. EPSS estimates a 1.53% chance of exploitation in the next 30 days, higher than 74.8% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 17Timeline
- 21-03-2024PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
Description
A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey and ctx. That function uses named return parameters to free pkey and ctx if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey and ctx will be nil inside the deferred function that should free them.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.53%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.53% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat74 products
- buildah< 1:1.29.1-2.2.rhaos4.13.el8 | < 1:1.29.1-2.2.rhaos4.13.el9 | < 2:1.33.7-3.el9_4
- buildah-debuginfo< 1:1.29.1-2.2.rhaos4.13.el8 | < 1:1.29.1-2.2.rhaos4.13.el9 | < 2:1.33.7-3.el9_4
- buildah-debugsource< 1:1.29.1-2.2.rhaos4.13.el8 | < 1:1.29.1-2.2.rhaos4.13.el9 | < 2:1.33.7-3.el9_4
- buildah-tests< 1:1.29.1-2.2.rhaos4.13.el8 | < 1:1.29.1-2.2.rhaos4.13.el9 | < 2:1.33.7-3.el9_4
- buildah-tests-debuginfo< 1:1.29.1-2.2.rhaos4.13.el8 | < 1:1.29.1-2.2.rhaos4.13.el9 | < 2:1.33.7-3.el9_4
Github.com/golang-fips1 product
- go≤ 1.22.1
Github.com/golang-fips/openssl1 product
- v2< 2.0.1
Github.com/microsoft1 product
- go-crypto-openssl≤ 0.2.8 | < 0.2.9
Github.com/microsoft/go-crypto-openssl1 product
- openssl< 0.2.9
5 vendors · 78 products