CVE-2026-31789
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-4a467353bcc0CVSS: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 SecurityCVSS: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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | 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.523Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:46:11.523Z | 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-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 JSONOSV · 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 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": 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 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.523ZArchived source JSON
Source publication: 2026-04-07T22:00:54.983Z
Source modification: 2026-05-12T12:09:05.071ZDocument fingerprint
f60e547d0bb15d778bd906aa0bab94d4ad120c1b3d0187c9a32e7c760db359a0 - NVDConsulted: 2026-11-19T10:05:49.777ZArchived source JSON
Source publication: 2026-04-07T22:16:21.617Z
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.617Z
Source modification: 2026-10-01T03:03:03.414ZDocument fingerprint
aa7278241c106cf87fce54e0f1162c7d1d932c944a93bc5a0e172ec52f01cb97 - OSVConsulted: 2026-11-19T12:52:07.087ZArchived source JSON
Source publication: 2026-04-07T22:16:21.617Z
Source modification: 2026-10-01T03:03:03.414ZDocument fingerprint
5b96608497157644f8c1c75ed97eb724bed1bb914b49a9d4c8d54e973c769edb - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived 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:27:40.860ZDocument 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