CVEMETERBack to radar
OFFICIAL RECORD · OpenSSL

CVE-2026-31789

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 9.8 · critical

Heap Buffer Overflow in Hexadecimal Conversion

Issue summary: Converting an excessively large OCTET STRING value to a hexadecimal string leads to a heap buffer overflow on 32 bit platforms. Impact summary: A heap buffer overflow may lead to a crash or possibly an attacker controlled code execution or other undefined behavior. If an attacker can supply a crafted X.509 certificate with an excessively large OCTET STRING value in extensions such as the Subject Key Identifier (SKID) or Authority Key Identifier (AKID) which are being converted to hex, the size of the buffer needed for the result is calculated as multiplication of the input length by 3. On 32 bit platforms, this multiplication may overflow resulting in the allocation of a smaller buffer and a heap buffer overflow. Applications and services that print or log contents of untrusted X.509 certificates are vulnerable to this issue. As the certificates would have to have sizes of over 1 Gigabyte, printing or logging such certificates is a fairly unlikely operation and only 32 bit platforms are affected, this issue was assigned Low severity. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.253% · 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:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 9.8 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T10:05:49.777Z

CVSS 3.1 · 5.8 · published by 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H
Assessment source · checked 2026-11-19T10:05:49.777Z

CVSS 3.1 · 9.8 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T14:20:27.655Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA 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.523ZCVE Program
lifecycleverified2026-11-19T10:46:11.523ZCVE 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-31789",
  "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-31789.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:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2026-31789"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-31789",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2026-31789",
  "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-31789.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:H/A:H"
    }
  ],
  "upstream": [
    "CVE-2026-31789"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-31789",
      "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": 5.8,
            "attackVector": "LOCAL",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H",
            "integrityImpact": "LOW",
            "userInteraction": "REQUIRED",
            "attackComplexity": "HIGH",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "LOW"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-31789",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-04-09T03:56:05.246752Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-05-10T20:08:19.604Z"
      }
    },
    {
      "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:05.071Z"
      }
    }
  ]
}
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