7.5

CVE-2024-1394: Golang-fips/openssl: memory leaks in code encrypting and decrypting rsa payloads

Deferred
AliasesRHSA-2024:1462RHSA-2024:1468RHSA-2024:1472
Published 21-03-2024Last modified 29-10-2026

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.

Priority
Prioritisesevere

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?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.53%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 17 · Related 17

Timeline

  1. 21-03-2024
    PublishedVulnerability first disclosed.
  2. 29-10-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

71 links
Show all 71 references