{"vuln_id":"CVE-2024-1394","aliases":[],"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.","published_at":"2024-03-21T13:00:08.037000Z","modified_at":"2026-11-23T14:17:18.350000Z","first_seen_at":"2026-11-21T19:15:46.036512Z","severity":"high","severity_source":"nvd","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-401"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.01533,"epss_percentile":0.75335,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-1394"},"matched_alias":null,"items":[{"id":2896,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2024-1394: 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…","summary":"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.\n\nReferences:\nhttps://access.redhat.com/errata/RHSA-2024:1462\nhttps://access.redhat.com/errata/RHSA-2024:1468\nhttps://access.redhat.com/errata/RHSA-2024:1472\nhttps://access.redhat.com/errata/RHSA-2024:1501\nhttps://access.redhat.com/errata/RHSA-2024:1502\nhttps://access.redhat.com/errata/RHSA-2024:1561\nhttps://access.redhat.com/errata/RHSA-2024:1563\nhttps://access.redhat.com/errata/RHSA-2024:1566\nhttps://access.redhat.com/errata/RHSA-2024:1567\nhttps://access.redhat.com/errata/RHSA-2024:1574","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1394","published_at":"2024-03-21T13:00:08.037000Z","updated_at":"2026-11-23T14:17:18.350000Z","fetched_at":"2026-11-21T19:15:31.478493Z","severity":"high","cvss_score":7.5,"epss":0.01533,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"openssl","product":null,"vuln_id":"CVE-2024-1394","vuln_ids":["CVE-2024-1394","RHSA-2024:1462","RHSA-2024:1468","RHSA-2024:1472","RHSA-2024:1501","RHSA-2024:1502","RHSA-2024:1561","RHSA-2024:1563","RHSA-2024:1566","RHSA-2024:1567","RHSA-2024:1574"],"tags":["CWE-401"],"cluster_id":2882,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2896","html":"https://vulnwatch.ve1ve2.com/item/2896"}}]}