{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-31790 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-31790 is a high-severity vulnerability in Openssl Openssl, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-31790 and fix it if it is affected.\n\nWhat it is: CVE-2026-31790 is a high-severity vulnerability in Openssl Openssl, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-31790 in the wild and no public exploit code.\n\nAffected product: Openssl Openssl. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-31790/ (Markdown: https://insights.sbomify.com/CVE-2026-31790/index.md)","id":"CVE-2026-31790","markdown":"https://insights.sbomify.com/CVE-2026-31790/index.md","name":"CVE-2026-31790","record":{"aliases":["ALPINE-CVE-2026-31790","ALSA-2026:19218","AZL-81950","BELL-CVE-2026-31790","CLSA-2026-1777948139","CLSA-2026-1778072039","DEBIAN-CVE-2026-31790","ECHO-cd1b-a137-2e06","GHSA-vgxx-5xj5-q97x","JLSEC-2026-277","MINI-83c3-pjwh-j63q","MINI-94m3-r75g-8f74","MINI-rhfj-8r8r-9755","OESA-2026-2161","OESA-2026-2602","RHSA-2026:19218","RHSA-2026:27744","RHSA-2026:27745","RHSA-2026:27746","RHSA-2026:28211","RHSA-2026:28832","RLSA-2026:19066","RLSA-2026:19218","ROOT-OS-ALPINE-317-CVE-2026-31790","UBUNTU-CVE-2026-31790"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSL cryptographic library","requires_auth":"none","summary":"Attackers can read uninitialized memory contents via RSA KEM encapsulation if invalid public keys are used without validation, leaking sensitive data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openssl","cpe":[{"product":"openssl","vendor":"openssl"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"description":"Issue summary: Applications using RSASVE key encapsulation to establish\na secret encryption key can send contents of an uninitialized memory buffer to\na malicious peer.\n\nImpact summary: The uninitialized buffer might contain sensitive data from the\nprevious execution of the application process which leads to sensitive data\nleakage to an attacker.\n\nRSA_public_encrypt() returns the number of bytes written on success and -1\non error. The affected code tests only whether the return value is non-zero.\nAs a result, if RSA encryption fails, encapsulation can still return success to\nthe caller, set the output lengths, and leave the caller to use the contents of\nthe ciphertext buffer as if a valid KEM ciphertext had been produced.\n\nIf applications use EVP_PKEY_encapsulate() with RSA/RSASVE on an\nattacker-supplied invalid RSA public key without first validating that key,\nthen this may cause stale or uninitialized contents of the caller-provided\nciphertext buffer to be disclosed to the attacker in place of the KEM\nciphertext.\n\nAs a workaround calling EVP_PKEY_public_check() or\nEVP_PKEY_public_check_quick() before EVP_PKEY_encapsulate() will mitigate\nthe issue.\n\nThe FIPS modules in 3.6, 3.5, 3.4, 3.3, 3.1 and 3.0 are affected by this issue.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::baseos","Red Hat:enterprise_linux_eus:10.0","Red Hat:hummingbird:1","Red Hat:rhel_e4s:9.2::baseos","Red Hat:rhel_e4s:9.4::baseos","Red Hat:rhel_eus:9.6::baseos","Rocky Linux:10","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Incorrect Failure Handling in RSA KEM RSASVE Encapsulation","id":"CVE-2026-31790","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"openssl:openssl","products":["openssl:openssl"],"type":"information_disclosure","year":"2026"},"n_packages":42,"n_references":6,"next":{"headline":"iccDEV has a null pointer dereference in CIccTagXmlStruct::ParseTag()","id":"CVE-2026-31792"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/almalinux/openssl","source":"ALSA-2026:19218"},{"ecosystem":"AlmaLinux:9","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-devel","purl":"pkg:rpm/almalinux/openssl-devel","source":"ALSA-2026:19218"},{"ecosystem":"AlmaLinux:9","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-libs","purl":"pkg:rpm/almalinux/openssl-libs","source":"ALSA-2026:19218"},{"ecosystem":"AlmaLinux:9","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-perl","purl":"pkg:rpm/almalinux/openssl-perl","source":"ALSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:3.0.7-11.el10_2"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider","purl":"pkg:rpm/redhat/openssl-fips-provider","source":"RHSA-2026:27746"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:3.0.7-11.el10_2"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so","purl":"pkg:rpm/redhat/openssl-fips-provider-so","source":"RHSA-2026:27746"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:3.0.7-11.el10_2"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debuginfo","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debuginfo","source":"RHSA-2026:27746"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:3.0.7-11.el10_2"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debugsource","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debugsource","source":"RHSA-2026:27746"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-debuginfo","purl":"pkg:rpm/redhat/openssl-debuginfo","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-debugsource","purl":"pkg:rpm/redhat/openssl-debugsource","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-devel","purl":"pkg:rpm/redhat/openssl-devel","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-libs-debuginfo","purl":"pkg:rpm/redhat/openssl-libs-debuginfo","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-perl","purl":"pkg:rpm/redhat/openssl-perl","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl","purl":"pkg:rpm/redhat/openssl","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-debuginfo","purl":"pkg:rpm/redhat/openssl-debuginfo","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-debugsource","purl":"pkg:rpm/redhat/openssl-debugsource","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.0.7-11.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider","purl":"pkg:rpm/redhat/openssl-fips-provider","source":"RHSA-2026:27744"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.0.7-11.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so","purl":"pkg:rpm/redhat/openssl-fips-provider-so","source":"RHSA-2026:27744"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.0.7-11.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debuginfo","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debuginfo","source":"RHSA-2026:27744"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:3.0.7-11.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debugsource","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debugsource","source":"RHSA-2026:27744"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-libs","purl":"pkg:rpm/redhat/openssl-libs","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:3.5.5-2.el9_8"],"introduced":["0"],"last_affected":[],"package":"openssl-libs-debuginfo","purl":"pkg:rpm/redhat/openssl-libs-debuginfo","source":"RHSA-2026:19218"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.0.7-11.el10_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider","purl":"pkg:rpm/redhat/openssl-fips-provider","source":"RHSA-2026:27745"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.0.7-11.el10_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so","purl":"pkg:rpm/redhat/openssl-fips-provider-so","source":"RHSA-2026:27745"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.0.7-11.el10_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debuginfo","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debuginfo","source":"RHSA-2026:27745"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.0.7-11.el10_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debugsource","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debugsource","source":"RHSA-2026:27745"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.0.7-1.2.hum1"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider","purl":"pkg:rpm/redhat/openssl-fips-provider","source":"RHSA-2026:28211"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.0.7-1.2.hum1"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so","purl":"pkg:rpm/redhat/openssl-fips-provider-so","source":"RHSA-2026:28211"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider","purl":"pkg:rpm/redhat/openssl-fips-provider","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-debugsource","purl":"pkg:rpm/redhat/openssl-fips-provider-debugsource","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so","purl":"pkg:rpm/redhat/openssl-fips-provider-so","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debuginfo","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debuginfo","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider","purl":"pkg:rpm/redhat/openssl-fips-provider","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-debugsource","purl":"pkg:rpm/redhat/openssl-fips-provider-debugsource","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so","purl":"pkg:rpm/redhat/openssl-fips-provider-so","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_e4s:9.4::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debuginfo","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debuginfo","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_eus:9.6::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider","purl":"pkg:rpm/redhat/openssl-fips-provider","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_eus:9.6::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-debugsource","purl":"pkg:rpm/redhat/openssl-fips-provider-debugsource","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_eus:9.6::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so","purl":"pkg:rpm/redhat/openssl-fips-provider-so","source":"RHSA-2026:28832"},{"ecosystem":"Red Hat:rhel_eus:9.6::baseos","fixed":["0:3.0.7-11.el9_0"],"introduced":["0"],"last_affected":[],"package":"openssl-fips-provider-so-debuginfo","purl":"pkg:rpm/redhat/openssl-fips-provider-so-debuginfo","source":"RHSA-2026:28832"}],"prev":{"headline":"Heap Buffer Overflow in Hexadecimal Conversion","id":"CVE-2026-31789"},"products":["OpenSSL"],"published":"2026-04-07","related":[{"cvss_score":10,"headline":"Null dereference in n/a","id":"CVE-2009-3245","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2006-3738","kev_date_added":null,"published":"2006-09-28"},{"cvss_score":9.8,"headline":"Untrusted Sender DN Used as Format String in CMP Response Validation","id":"CVE-2026-63073","kev_date_added":null,"published":"2026-08-25"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-6309","kev_date_added":null,"published":"2016-09-26"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-0799","kev_date_added":null,"published":"2016-03-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-2842","kev_date_added":null,"published":"2016-03-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2003-0545","kev_date_added":null,"published":"2003-10-01"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-12","vendors":["OpenSSL"]},"summary":"Attackers can read uninitialized memory contents via RSA KEM encapsulation if invalid public keys are used without validation, leaking sensitive data.","url":"https://insights.sbomify.com/CVE-2026-31790/"}