CVEMETERBack to radar
OFFICIAL RECORD · OpenSSL

CVE-2026-31790

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 7.5 · high

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-4a467353bcc0
CVSS: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 Security
CVSS: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

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T10:05:49.777ZNVD
epssverified2026-11-19T16:04:48.739ZFIRST EPSS
patchesverified2026-11-19T14:20:27.655ZUbuntu Security
affectedverified2026-11-19T10:46:11.628ZCVE Program
lifecycleverified2026-11-19T10:46:11.628ZCVE 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&section=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 JSON
OSV · 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 JSON
OSV · 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 JSON
CVE 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 JSON
NVD · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
distribution-packageUbuntu / stonkingopensslsecurity3.5.5-1ubuntu3Official record
distribution-packageUbuntu / resoluteopensslsecurity3.5.5-1ubuntu3Official record
upstream-releaseupstream / upstreamopensslNot a distribution channel3.0.20Official record
upstream-releaseupstream / upstreamopensslNot a distribution channel3.5.6Official record
distribution-packageUbuntu / jammyopensslsecurity3.0.2-0ubuntu1.23Official record
distribution-packageUbuntu / nobleopensslsecurity3.0.13-0ubuntu3.9Official record
distribution-packageUbuntu / questingopensslsecurity3.5.3-1ubuntu3.3Official record
ecosystem-boundaryDebian:13 / 13opensslunknown3.5.5-1~deb13u2Official record
ecosystem-boundaryDebian:12 / 12opensslunknown3.0.19-1~deb12u2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history