CVE-2026-31790
Incorrect Failure Handling in RSA KEM RSASVE Encapsulation
Issue summary: Applications using RSASVE key encapsulation to establish a secret encryption key can send contents of an uninitialized memory buffer to a malicious peer. Impact summary: The uninitialized buffer might contain sensitive data from the previous execution of the application process which leads to sensitive data leakage to an attacker. RSA_public_encrypt() returns the number of bytes written on success and -1 on error. The affected code tests only whether the return value is non-zero. As a result, if RSA encryption fails, encapsulation can still return success to the caller, set the output lengths, and leave the caller to use the contents of the ciphertext buffer as if a valid KEM ciphertext had been produced. If applications use EVP_PKEY_encapsulate() with RSA/RSASVE on an attacker-supplied invalid RSA public key without first validating that key, then this may cause stale or uninitialized contents of the caller-provided ciphertext buffer to be disclosed to the attacker in place of the KEM ciphertext. As a workaround calling EVP_PKEY_public_check() or EVP_PKEY_public_check_quick() before EVP_PKEY_encapsulate() will mitigate the issue. The FIPS modules in 3.6, 3.5, 3.4, 3.3, 3.1 and 3.0 are affected by this issue.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.049% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by 134c704f-9b21-4f2e-91b3-4a467353bcc0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T10:05:49.777Z
CVSS 3.1 · 7.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T14:20:27.655Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T10:05:49.777Z | NVD |
| epss | verified | 2026-11-19T16:04:48.739Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:20:27.655Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:46:11.628Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:46:11.628Z | CVE Program |
Affected versions and configuration
OpenSSL OpenSSL; default status: unaffected: 3.6.0 to < 3.6.2 [affected; scheme: semver]; 3.5.0 to < 3.5.6 [affected; scheme: semver]; 3.4.0 to < 3.4.5 [affected; scheme: semver]; 3.3.0 to < 3.3.7 [affected; scheme: semver]; 3.0.0 to < 3.0.20 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "openssl",
"debian": "https://tracker.debian.org/pkg/openssl",
"source": "https://ubuntu.com/security/cve?package=openssl",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=openssl",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.5.5-1ubuntu3",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.5.5-1ubuntu3",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "3.0+ only",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "3.0+ only",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "3.0+ only",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "3.0+ only",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.0.20,3.5.6",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.0.2-0ubuntu1.23",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.0.13-0ubuntu3.9",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "3.5.3-1ubuntu3.3",
"release_codename": "questing"
}
]
}
]Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2026-31790",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.5-1~deb13u2"
}
]
}
],
"package": {
"name": "openssl",
"purl": "pkg:deb/debian/openssl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3.5.1-1",
"3.5.1-1+deb13u1",
"3.5.2-1",
"3.5.3-1",
"3.5.4-1",
"3.5.4-1~deb13u1",
"3.5.4-1~deb13u2",
"3.5.5-1~deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31790.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [
"CVE-2026-31790"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2026-31790",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONOSV · osv · full conditions
{
"id": "DEBIAN-CVE-2026-31790",
"aliases": [],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.19-1~deb12u2"
}
]
}
],
"package": {
"name": "openssl",
"purl": "pkg:deb/debian/openssl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.0.10-1",
"3.0.10-1~deb12u1",
"3.0.11-1",
"3.0.11-1~deb12u1",
"3.0.11-1~deb12u2",
"3.0.12-1",
"3.0.12-2",
"3.0.13-1~deb12u1",
"3.0.13-1~deb12u2",
"3.0.14-1~deb12u1",
"3.0.14-1~deb12u2",
"3.0.15-1~deb12u1",
"3.0.16-1~deb12u1",
"3.0.17-1~deb12u1",
"3.0.17-1~deb12u2",
"3.0.17-1~deb12u3",
"3.0.18-1~deb12u1",
"3.0.18-1~deb12u2",
"3.0.19-1~deb12u1",
"3.0.9-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-31790.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [
"CVE-2026-31790"
],
"withdrawn": null,
"references": [
{
"url": "https://security-tracker.debian.org/tracker/CVE-2026-31790",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "OpenSSL",
"product": "OpenSSL",
"versions": [
{
"status": "affected",
"version": "3.6.0",
"lessThan": "3.6.2",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.5.0",
"lessThan": "3.5.6",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.4.0",
"lessThan": "3.4.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.3.0",
"lessThan": "3.3.7",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.0.0",
"lessThan": "3.0.20",
"versionType": "semver"
}
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-31790",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-04-08T14:32:04.700201Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-08T14:32:37.439Z"
}
},
{
"affected": [
{
"vendor": "Siemens",
"product": "SIMATIC CN 4100",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "V5.0",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
],
"x_adpType": "supplier",
"references": [
{
"url": "https://cert-portal.siemens.com/productcert/html/ssa-032379.html"
}
],
"providerMetadata": {
"orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
"shortName": "siemens-SADP",
"dateUpdated": "2026-05-12T12:09:06.208Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B28A8143-89A4-4332-A1F8-A65FB5AA829F",
"versionEndExcluding": "3.0.20",
"versionStartIncluding": "3.0.0"
},
{
"criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CF303B21-D9BF-461D-B7B0-A3FE1D557A9F",
"versionEndExcluding": "3.3.7",
"versionStartIncluding": "3.3.0"
},
{
"criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DCCE43D0-8F17-475D-9EE6-842F758A9905",
"versionEndExcluding": "3.4.5",
"versionStartIncluding": "3.4.0"
},
{
"criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F6BC0271-444D-4597-BF05-DC60034EAA49",
"versionEndExcluding": "3.5.6",
"versionStartIncluding": "3.5.0"
},
{
"criteria": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4A9E621D-29D8-418A-BF37-BED333C14507",
"versionEndExcluding": "3.6.2",
"versionStartIncluding": "3.6.0"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / stonking | openssl | security | 3.5.5-1ubuntu3 | Official record |
| distribution-package | Ubuntu / resolute | openssl | security | 3.5.5-1ubuntu3 | Official record |
| upstream-release | upstream / upstream | openssl | Not a distribution channel | 3.0.20 | Official record |
| upstream-release | upstream / upstream | openssl | Not a distribution channel | 3.5.6 | Official record |
| distribution-package | Ubuntu / jammy | openssl | security | 3.0.2-0ubuntu1.23 | Official record |
| distribution-package | Ubuntu / noble | openssl | security | 3.0.13-0ubuntu3.9 | Official record |
| distribution-package | Ubuntu / questing | openssl | security | 3.5.3-1ubuntu3.3 | Official record |
| ecosystem-boundary | Debian:13 / 13 | openssl | unknown | 3.5.5-1~deb13u2 | Official record |
| ecosystem-boundary | Debian:12 / 12 | openssl | unknown | 3.0.19-1~deb12u2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:46:11.628ZArchived source JSON
Source publication: 2026-04-07T22:00:56.698Z
Source modification: 2026-05-12T12:09:06.208ZDocument fingerprint
d1150564e0b52d98adb6521c2d53007de2d741a6ece3decfd3d8af2e5f9a5d59 - NVDConsulted: 2026-11-19T10:05:49.777ZArchived source JSON
Source publication: 2026-04-07T22:16:21.770Z
Source modification: 2026-07-24T23:10:00.563ZDocument fingerprint
2d3b099319ca9f0086891e9317a94f9914fc3cc5b6b90111354ffdd8ea11831d - OSVConsulted: 2026-11-19T12:52:03.850ZArchived source JSON
Source publication: 2026-04-07T22:16:21.770Z
Source modification: 2026-10-01T03:03:10.109ZDocument fingerprint
aa7278241c106cf87fce54e0f1162c7d1d932c944a93bc5a0e172ec52f01cb97 - OSVConsulted: 2026-11-19T12:52:07.087ZArchived source JSON
Source publication: 2026-04-07T22:16:21.770Z
Source modification: 2026-10-01T03:03:10.109ZDocument fingerprint
5b96608497157644f8c1c75ed97eb724bed1bb914b49a9d4c8d54e973c769edb - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T14:20:27.655ZArchived source JSON
Source publication: 2026-04-07T00:00:00.000Z
Source modification: 2026-08-27T21:25:07.555ZDocument fingerprint
da688f40faf7a78af732bbf0adac66507c2f15d4bf591e5a2ae7c19b19f1d47e - FIRST EPSSConsulted: 2026-11-19T16:04:48.739ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3313a11d11e613d0701bead667f77d25d88fe41ce03f62f29fd0b2747a4c900c
Official status history
- UNKNOWN → PUBLISHED · · evidence