Golang-fips/openssl: memory leaks in code encrypting and decrypting rsa payloads
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2024-1394
PublishedA 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.
- Source published
- 21 Mar 2024 12:16:38 UTC
- Source modified
- 4 Nov 2026 21:08:38 UTC
- Saved here
- 4 Nov 2026 22:54:02 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
euvd · EUVD-2024-0854
PublishedA 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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Mar 21, 2024, 12:16:38 PM
dateUpdated: Nov 4, 2026, 9:08:38 PM
44 related source bulletins · separate from aliases
RHSA-2024:1502: Red Hat Security Advisory: grafana-pcp security update
CVE-2024-1394
RHSA-2024:7262: Red Hat Security Advisory: osbuild-composer security update
CVE-2024-1394 · CVE-2024-34156
RHSA-2024:4672: Red Hat Security Advisory: containernetworking-plugins security update
CVE-2024-1394
RHSA-2024:4699: Red Hat Security Advisory: OpenShift Container Platform 4.15.23 bug fix and security update
CVE-2023-29483 · CVE-2023-45288 · CVE-2024-1394 · CVE-2024-6104
RHSA-2024:2562: Red Hat Security Advisory: golang security update
CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2024-1394 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785
RHSA-2024:2767: Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (collectd-sensubility) security update
CVE-2023-39326 · CVE-2023-45287 · CVE-2024-1394
WID-SEC-W-2024-1226: Red Hat OpenShift: Mehrere Schwachstellen
CVE-2020-26555 · CVE-2021-25220 · CVE-2021-29390 · CVE-2021-43618 · CVE-2022-0480 · CVE-2022-2795 · CVE-2022-3094 · CVE-2022-38096 · CVE-2022-40090 · CVE-2022-45934 · CVE-2022-48554 · CVE-2022-48624 · CVE-2023-24023 · CVE-2023-25193 · CVE-2023-25775 · CVE-2023-26159 · CVE-2023-26364 · CVE-2023-28322 · CVE-2023-28464 · CVE-2023-28866 · CVE-2023-2975 · CVE-2023-31083 · CVE-2023-31122 · CVE-2023-3446 · CVE-2023-3567 · CVE-2023-3618 · CVE-2023-37453 · CVE-2023-3817 · CVE-2023-38469 · CVE-2023-38470 · CVE-2023-38471 · CVE-2023-38472 · CVE-2023-38473 · CVE-2023-38546 · CVE-2023-39189 · CVE-2023-39193 · CVE-2023-39194 · CVE-2023-39198 · CVE-2023-39326 · CVE-2023-40745 · CVE-2023-41175 · CVE-2023-4133 · CVE-2023-42754 · CVE-2023-42756 · CVE-2023-43785 · CVE-2023-43786 · CVE-2023-43787 · CVE-2023-43788 · CVE-2023-43789 · CVE-2023-4408 · CVE-2023-45286 · CVE-2023-45287 · CVE-2023-45288 · CVE-2023-45289 · CVE-2023-45290 · CVE-2023-45857 · CVE-2023-45863 · CVE-2023-46218 · CVE-2023-46862 · CVE-2023-47038 · CVE-2023-48631 · CVE-2023-50387 · CVE-2023-50868 · CVE-2023-51043 · CVE-2023-51779 · CVE-2023-51780 · CVE-2023-52425 · CVE-2023-52434 · CVE-2023-52448 · CVE-2023-52476 · CVE-2023-52489 · CVE-2023-52522 · CVE-2023-52529 · CVE-2023-52574 · CVE-2023-52578 · CVE-2023-52580 · CVE-2023-52581 · CVE-2023-52597 · CVE-2023-52610 · CVE-2023-52620 · CVE-2023-5678 · CVE-2023-6040 · CVE-2023-6121 · CVE-2023-6129 · CVE-2023-6176 · CVE-2023-6228 · CVE-2023-6237 · CVE-2023-6240 · CVE-2023-6531 · CVE-2023-6546 · CVE-2023-6622 · CVE-2023-6915 · CVE-2023-6931 · CVE-2023-6932 · CVE-2023-7008 · CVE-2024-0565 · CVE-2024-0727 · CVE-2024-0841 · CVE-2024-1085 · CVE-2024-1086 · CVE-2024-1394 · CVE-2024-1488 · CVE-2024-21011 · CVE-2024-21012 · CVE-2024-21068 · CVE-2024-21085 · CVE-2024-21094 · CVE-2024-22365 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-25062 · CVE-2024-25742 · CVE-2024-25743 · CVE-2024-26582 · CVE-2024-26583 · CVE-2024-26584 · CVE-2024-26585 · CVE-2024-26586 · CVE-2024-26593 · CVE-2024-26602 · CVE-2024-26609 · CVE-2024-26633 · CVE-2024-27316 · CVE-2024-28834 · CVE-2024-28835 · CVE-2024-28849 · CVE-2024-29180 · CVE-2024-2961 · CVE-2024-33599 · CVE-2024-33600 · CVE-2024-33601 · CVE-2024-33602
RHSA-2024:4591: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix update
CVE-2023-43646 · CVE-2023-47108 · CVE-2024-1394 · CVE-2024-5042 · CVE-2024-24783 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28176 · CVE-2024-28180 · CVE-2024-28863 · CVE-2024-37890
WID-SEC-W-2024-0681: Red Hat Enterprise Linux: Golang-Komponenten-Schwachstelle ermöglicht Denial of Service
CVE-2024-1394
RHSA-2024:4960: Red Hat Security Advisory: OpenShift Container Platform 4.14.34 bug fix and security update
CVE-2023-29483 · CVE-2023-45288 · CVE-2023-48795 · CVE-2024-1394 · CVE-2024-3727 · CVE-2024-6104 · CVE-2024-6409
WID-SEC-W-2024-1228: Red Hat OpenStack: Mehrere Schwachstellen
CVE-2024-1135 · CVE-2023-39325 · CVE-2023-44487 · CVE-2023-45288 · CVE-2024-4438 · CVE-2023-39326 · CVE-2023-45287 · CVE-2024-1394 · CVE-2024-24680 · CVE-2024-1141 · CVE-2023-45803 · CVE-2023-48795 · CVE-2023-6725 · CVE-2023-6110 · CVE-2024-22195
RHSA-2024:1468: Red Hat Security Advisory: go-toolset-1.19-golang security update
CVE-2024-1394
RHSA-2024:4379: Red Hat Security Advisory: gvisor-tap-vsock security update
CVE-2024-1394
RHSA-2024:4762: Red Hat Security Advisory: runc security update
CVE-2024-1394
RHSA-2024:2569: Red Hat Security Advisory: grafana-pcp security update
CVE-2024-1394
RHSA-2024:5634: Red Hat Security Advisory: podman security update
CVE-2024-1394 · CVE-2024-6104 · CVE-2024-37298
RHSA-2024:1574: Red Hat Security Advisory: OpenShift Container Platform 4.12.54 packages and security update
CVE-2024-1394 · CVE-2024-24786 · CVE-2024-28180
RHSA-2024:2730: Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (collectd-sensubility) security update
CVE-2023-39326 · CVE-2023-45287 · CVE-2024-1394
RHSA-2024:1566: Red Hat Security Advisory: Red Hat build of MicroShift 4.14.19 security update
CVE-2024-1394
RHSA-2024:1640: Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update
CVE-2023-39326 · CVE-2023-41040 · CVE-2023-45857 · CVE-2023-46137 · CVE-2023-47627 · CVE-2023-49083 · CVE-2024-1394 · CVE-2024-22195 · CVE-2024-23334 · CVE-2024-23829 · CVE-2024-24680 · CVE-2024-27351
RHSA-2024:4378: Red Hat Security Advisory: podman security update
CVE-2024-1394
RHSA-2024:1646: Red Hat Security Advisory: grafana security and bug fix update
CVE-2024-1394
RHSA-2024:4761: Red Hat Security Advisory: containernetworking-plugins security update
CVE-2024-1394
RHSA-2024:4581: Red Hat Security Advisory: podman security update
CVE-2024-1394
RHSA-2024:2729: Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (etcd) security update
CVE-2023-39326 · CVE-2023-45287 · CVE-2023-45288 · CVE-2024-1394 · CVE-2024-4438
RHSA-2024:1462: Red Hat Security Advisory: golang security update
CVE-2024-1394
WID-SEC-W-2024-1474: Red Hat OpenShift Container Platform: Mehrere Schwachstellen
CVE-2019-25210 · CVE-2023-29483 · CVE-2023-45142 · CVE-2023-45289 · CVE-2023-45290 · CVE-2023-47108 · CVE-2023-48795 · CVE-2023-52425 · CVE-2024-0874 · CVE-2024-1394 · CVE-2024-22189 · CVE-2024-2398 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24785 · CVE-2024-24786 · CVE-2024-28110 · CVE-2024-28176 · CVE-2024-28180 · CVE-2024-28757 · CVE-2024-28849 · CVE-2024-29180 · CVE-2024-3177 · CVE-2024-3727
RHSA-2024:1897: Red Hat Security Advisory: OpenShift Container Platform 4.14.22 packages and security update
CVE-2023-45288 · CVE-2024-1394
RHSA-2024:1644: Red Hat Security Advisory: grafana-pcp security and bug fix update
CVE-2024-1394
RHSA-2025:7118: Red Hat Security Advisory: osbuild and osbuild-composer security update
CVE-2024-1394 · CVE-2024-9355 · CVE-2024-34158
RHSA-2024:4371: Red Hat Security Advisory: buildah security update
CVE-2024-1394
RHSA-2024:4146: Red Hat Security Advisory: golang security update
CVE-2023-45288 · CVE-2024-1394
RHSA-2024:1561: Red Hat Security Advisory: Red Hat build of MicroShift 4.15.6 security update
CVE-2024-1394
RHSA-2024:1567: Red Hat Security Advisory: OpenShift Container Platform 4.14.19 security update
CVE-2024-1394 · CVE-2024-28180
RHSA-2024:1472: Red Hat Security Advisory: go-toolset:rhel8 security update
CVE-2024-1394
RHSA-2024:1563: Red Hat Security Advisory: OpenShift Container Platform 4.15.6 packages and security update
CVE-2024-1394 · CVE-2024-24786 · CVE-2024-28180
RHSA-2024:1763: Red Hat Security Advisory: OpenShift Container Platform 4.13.40 packages and security update
CVE-2024-1394
WID-SEC-W-2024-1307: Red Hat OpenShift Service Mesh Containers: Mehrere Schwachstellen
CVE-2021-25220 · CVE-2021-43618 · CVE-2021-46848 · CVE-2022-1271 · CVE-2022-2795 · CVE-2022-3094 · CVE-2022-36227 · CVE-2022-47024 · CVE-2022-47629 · CVE-2022-48303 · CVE-2022-48468 · CVE-2022-48554 · CVE-2022-48624 · CVE-2023-22745 · CVE-2023-2602 · CVE-2023-2603 · CVE-2023-29491 · CVE-2023-2975 · CVE-2023-3446 · CVE-2023-36054 · CVE-2023-3817 · CVE-2023-39975 · CVE-2023-4408 · CVE-2023-44487 · CVE-2023-45288 · CVE-2023-4641 · CVE-2023-4692 · CVE-2023-4693 · CVE-2023-47038 · CVE-2023-50387 · CVE-2023-50868 · CVE-2023-5517 · CVE-2023-5678 · CVE-2023-5679 · CVE-2023-6004 · CVE-2023-6129 · CVE-2023-6237 · CVE-2023-6516 · CVE-2023-6597 · CVE-2023-6918 · CVE-2023-7008 · CVE-2023-7104 · CVE-2024-0450 · CVE-2024-0727 · CVE-2024-1048 · CVE-2024-1313 · CVE-2024-1394 · CVE-2024-22195 · CVE-2024-22365 · CVE-2024-24786 · CVE-2024-25062 · CVE-2024-26458 · CVE-2024-26461 · CVE-2024-28834 · CVE-2024-28835 · CVE-2024-2961 · CVE-2024-33599 · CVE-2024-33600 · CVE-2024-33601 · CVE-2024-33602
RHSA-2024:3265: Red Hat Security Advisory: grafana security update
CVE-2024-1313 · CVE-2024-1394
RHSA-2024:5258: Red Hat Security Advisory: container-tools:rhel8 security update
CVE-2023-45290 · CVE-2024-1394 · CVE-2024-3727 · CVE-2024-6104 · CVE-2024-24783 · CVE-2024-24784 · CVE-2024-24789 · CVE-2024-37298 · CVE-2024-37891
RHSA-2024:2568: Red Hat Security Advisory: grafana security update
CVE-2024-1313 · CVE-2024-1394
RHSA-2024:4502: Red Hat Security Advisory: skopeo security update
CVE-2024-1394
RHSA-2024:1501: Red Hat Security Advisory: grafana security update
CVE-2024-1394
RHSA-2024:3352: Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (etcd) security update
CVE-2023-39318 · CVE-2023-39319 · CVE-2023-39321 · CVE-2023-39322 · CVE-2023-39326 · CVE-2023-45288 · CVE-2024-1394 · CVE-2024-4436 · CVE-2024-4437 · CVE-2024-4438
- Source published
- Mar 21, 2024, 12:16:38 PM (timezone not stated)
- Source modified
- Nov 4, 2026, 9:08:38 PM (timezone not stated)
- Saved here
- 15 Nov 2026 07:46:13 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd · CVE-2024-1394
PublishedA 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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-401
Original publisher date fields
published: 2024-03-21T13:00:08.037
lastModified: 2026-11-04T21:17:35.760
- Source published
- 21 Mar 2024 13:00:08 UTC
- Source modified
- 4 Nov 2026 21:17:35 UTC
- Saved here
- 6 Nov 2026 03:36:32 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv · GHSA-78hx-gp6g-7mj6
PublishedUsing crafted public RSA keys which are not compliant with SP 800-56B can cause a small memory leak when encrypting and verifying payloads. An attacker can leverage this flaw to gradually erode available memory to the point where the host crashes for lack of resources. Upon restart the attacker would have to begin again, but nevertheless there is the potential to deny service.
- Source published
- 20 Mar 2024 18:10:36 UTC
- Source modified
- 8 Jul 2026 06:29:41 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher rating · HIGH
osv · GO-2024-2660
PublishedUsing crafted public RSA keys can cause a small memory leak when encrypting and verifying payloads. This can be gradually leveraged into a denial of service attack.
- Source published
- 27 Mar 2024 22:08:48 UTC
- Source modified
- 5 Aug 2026 10:56:58 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.