CVE-2026-42789
Non-CA certificate accepted as intermediate issuer in public_key path validation
Improper Following of a Certificate's Chain of Trust vulnerability in Erlang OTP public_key (pubkey_cert module) allows a non-CA certificate to be accepted as an intermediate issuer, enabling certificate chain forgery. In lib/public_key/src/pubkey_cert.erl, pubkey_cert:validate_extensions/7 contains two flaws that together allow a certificate with basicConstraints cA:false and no keyUsage extension to be used as an intermediate issuer in a chain passed to public_key:pkix_path_validation/3: the cA:false clause recurses into the remaining extensions without rejecting the certificate when it is in issuer position, and the keyUsage check only fires when the extension is present, so a certificate lacking keyUsage entirely bypasses the keyCertSign enforcement. Any party holding an end-entity certificate with basicConstraints cA:false and no keyUsage extension, issued by any CA in the victim's trust store, can use that certificate's private key to sign forged leaf certificates for arbitrary identities. public_key:pkix_path_validation/3 accepts the resulting chain, and by extension every TLS or mTLS endpoint built on the OTP ssl application that relies on the default verifier is affected, including server identity verification on the client side and client certificate verification on mTLS servers. This issue affects OTP from OTP 17.0 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to public_key from 0.22 before 1.17.1.7, 1.20.3.6, and 1.21.8. Whether OTP before OTP 17.0, corresponding to public_key before 0.22, is affected is unknown.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.383% · 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 4.0 · 7 · published by 6b3ad84c-e1a6-4bf7-a703-f496b71e49dbCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 4.0 · 7 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N
Assessment source · checked 2026-11-19T12:58:34.617Z
CVSS 4.0 · 7 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N
Assessment source · checked 2026-11-19T16:53:14.419Z
CVSS 3.1 · 4.8 · published by [email protected]CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 3.1 · 8 · published by 0b0ca135-0b70-47e7-9f44-1890c2a1c46cCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 3.1 · 8 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Assessment source · checked 2026-11-19T16:53:14.419Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:41:35.955Z | NVD |
| epss | verified | 2026-11-19T16:04:50.495Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:53:14.419Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:58:34.617Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:34.617Z | CVE Program |
Affected versions and configuration
Erlang OTP; modules: pubkey_cert; default status: unknown: 17.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.19","status":"unaffected"},{"at":"28.5.0.8","status":"unaffected"},{"at":"29.1.2","status":"unaffected"}] Erlang OTP; modules: pubkey_cert; default status: unknown: 0.22 to < * [affected; scheme: otp]; changes: [{"at":"1.17.1.7","status":"unaffected"},{"at":"1.20.3.6","status":"unaffected"},{"at":"1.21.8","status":"unaffected"}] Erlang OTP; modules: pubkey_cert; default status: unknown: 84adefa331c4159d432d22840663c38f155cd4c1 to < * [affected; scheme: git]; changes: [{"at":"0a05b7ca33fb0b3f0a6cb9ae34252bb3a74032b8","status":"unaffected"},{"at":"75ca4c0dc2bbdb286ac3c3fe89cb4b4d2b4dc333","status":"unaffected"},{"at":"82af606b5437c4de1276dbcc8855a47e88231226","status":"unaffected"}]; 0a05b7ca33fb0b3f0a6cb9ae34252bb3a74032b8 to < * [unaffected; scheme: git]; 75ca4c0dc2bbdb286ac3c3fe89cb4b4d2b4dc333 to < * [unaffected; scheme: git]; 82af606b5437c4de1276dbcc8855a47e88231226 to < * [unaffected; scheme: git]
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": "erlang",
"debian": "https://tracker.debian.org/pkg/erlang",
"source": "https://ubuntu.com/security/cve?package=erlang",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=erlang",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.12+dfsg-1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:20.2.2+dfsg-1ubuntu2+esm4",
"release_codename": "bionic"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:22.2.7+dfsg-1ubuntu0.5+esm3",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:24.2.1+dfsg-1ubuntu0.8",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:25.3.2.8+dfsg-1ubuntu4.8",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.6+dfsg-1ubuntu0.2",
"release_codename": "resolute"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:16.b.3-dfsg-1ubuntu2.2+esm3",
"release_codename": "trusty"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:18.3-dfsg-1ubuntu3.1+esm4",
"release_codename": "xenial"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"pubkey_cert"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.19",
"status": "unaffected"
},
{
"at": "28.5.0.8",
"status": "unaffected"
},
{
"at": "29.1.2",
"status": "unaffected"
}
],
"version": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"lib/public_key/src/pubkey_cert.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "pubkey_cert:validate_extensions/7"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"pubkey_cert"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "1.17.1.7",
"status": "unaffected"
},
{
"at": "1.20.3.6",
"status": "unaffected"
},
{
"at": "1.21.8",
"status": "unaffected"
}
],
"version": "0.22",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/public_key?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "public_key",
"programFiles": [
"src/pubkey_cert.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "pubkey_cert:validate_extensions/7"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"pubkey_cert"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "0a05b7ca33fb0b3f0a6cb9ae34252bb3a74032b8",
"status": "unaffected"
},
{
"at": "75ca4c0dc2bbdb286ac3c3fe89cb4b4d2b4dc333",
"status": "unaffected"
},
{
"at": "82af606b5437c4de1276dbcc8855a47e88231226",
"status": "unaffected"
}
],
"version": "84adefa331c4159d432d22840663c38f155cd4c1",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "0a05b7ca33fb0b3f0a6cb9ae34252bb3a74032b8",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "75ca4c0dc2bbdb286ac3c3fe89cb4b4d2b4dc333",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "82af606b5437c4de1276dbcc8855a47e88231226",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"lib/public_key/src/pubkey_cert.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "pubkey_cert:validate_extensions/7"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-42789",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-05-27T15:41:47.903975Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-27T15:43:46.333Z"
}
},
{
"title": "erlang: Erlang OTP public_key: Certificate chain forgery via improper trust chain validation",
"metrics": [
{
"other": {
"type": "Red Hat severity rating",
"content": {
"value": "Important",
"namespace": "https://access.redhat.com/security/updates/classification/"
}
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 8,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "HIGH",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
}
],
"affected": [
{
"cpes": [
"cpe:/a:redhat:openstack:16.2::el8"
],
"vendor": "Red Hat",
"product": "Red Hat OpenStack Platform 16.2",
"versions": [
{
"status": "unaffected",
"version": "0:23.3.4.18-2.el8ost",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "erlang",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openstack:18.0::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenStack Services on OpenShift 18.0",
"versions": [
{
"status": "unaffected",
"version": "0:26.2.5.21-2.el9ost",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "erlang",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:hummingbird:1"
],
"vendor": "Red Hat",
"product": "Red Hat Hardened Images",
"packageName": "erlang27",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openstack:17.1"
],
"vendor": "Red Hat",
"product": "Red Hat OpenStack Platform 17.1",
"packageName": "erlang",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "affected"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-05-27T15:10:36.175Z",
"value": "Reported to Red Hat."
},
{
"lang": "en",
"time": "2026-05-27T12:23:06.355Z",
"value": "Made public."
}
],
"solutions": [
{
"lang": "en",
"value": "RHSA-2026:54757: Red Hat OpenStack Platform 16.2"
},
{
"lang": "en",
"value": "RHSA-2026:39809: Red Hat OpenStack Services on OpenShift 18.0"
}
],
"x_adpType": "supplier",
"datePublic": "2026-05-27T12:23:06.355Z",
"references": [
{
"url": "https://access.redhat.com/security/cve/CVE-2026-42789",
"tags": [
"vdb-entry",
"x_refsource_REDHAT"
]
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2482093",
"name": "RHBZ#2482093",
"tags": [
"issue-tracking",
"x_refsource_REDHAT"
]
},
{
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42789.json",
"tags": [
"x_sadp-csaf-vex"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2026:54757",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
]
},
{
"url": "https://access.redhat.com/errata/RHSA-2026:39809",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
]
}
],
"workarounds": [
{
"lang": "en",
"value": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability."
}
],
"x_generator": {
"engine": "sadp-cli 1.0.0"
},
"descriptions": [
{
"lang": "en",
"value": "A flaw was found in Erlang OTP's public_key module. This vulnerability (CWE-295), related to improper certificate validation, allows a non-Certificate Authority (CA) certificate to be accepted as an intermediate issuer. A remote attacker, holding an end-entity certificate issued by a trusted CA, can exploit this by forging leaf certificates for arbitrary identities. This can lead to compromised server identity verification on the client side and client certificate verification on mutual Transport Layer Security (mTLS) servers, undermining the trust in certificate-based authentication."
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-295",
"description": "Improper Certificate Validation"
}
]
}
],
"providerMetadata": {
"orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"shortName": "redhat-SADP",
"dateUpdated": "2026-09-18T12:04:44.359Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F25CA266-A367-4D08-8717-0D1A6694DBDC",
"versionEndExcluding": "26.2.5.21",
"versionStartIncluding": "17.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "91269F6D-B8A3-41F2-871C-79EBB9460BE8",
"versionEndExcluding": "27.3.4.12",
"versionStartIncluding": "27.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "844A3F01-AF3C-4C48-81DB-932B803D22C4",
"versionEndExcluding": "28.5.0.1",
"versionStartIncluding": "28.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "46976598-817C-4E93-AC4B-46434746C25F",
"versionEndExcluding": "29.0.1",
"versionStartIncluding": "29.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 |
|---|---|---|---|---|---|
| upstream-note | upstream / upstream | erlang | Not a distribution channel | 1:27.3.4.12+dfsg-1 | Official record |
| distribution-package | Ubuntu / bionic | erlang | esm-infra | 1:20.2.2+dfsg-1ubuntu2+esm4 | Official record |
| distribution-package | Ubuntu / focal | erlang | esm-infra | 1:22.2.7+dfsg-1ubuntu0.5+esm3 | Official record |
| distribution-package | Ubuntu / jammy | erlang | security | 1:24.2.1+dfsg-1ubuntu0.8 | Official record |
| distribution-package | Ubuntu / noble | erlang | security | 1:25.3.2.8+dfsg-1ubuntu4.8 | Official record |
| distribution-package | Ubuntu / resolute | erlang | security | 1:27.3.4.6+dfsg-1ubuntu0.2 | Official record |
| distribution-package | Ubuntu / trusty | erlang | esm-infra-legacy | 1:16.b.3-dfsg-1ubuntu2.2+esm3 | Official record |
| distribution-package | Ubuntu / xenial | erlang | esm-infra-legacy | 1:18.3-dfsg-1ubuntu3.1+esm4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T12:41:35.955ZArchived source JSON
Source publication: 2026-05-27T14:16:53.267Z
Source modification: 2026-10-26T11:10:00.157ZDocument fingerprint
e759e6d1e6804b37fd78e80e5e8ae7f3aeb60cbc655f9954c7d95508e6d7a6be - CVE ProgramConsulted: 2026-11-19T12:58:34.617ZArchived source JSON
Source publication: 2026-05-27T12:23:06.355Z
Source modification: 2026-11-19T08:23:27.918ZDocument fingerprint
1d680ad3a730ae69d47a05c4ba3e265574dddf26158c1f5817901fbfaa383470 - Ubuntu SecurityConsulted: 2026-11-19T16:53:14.419ZArchived source JSON
Source publication: 2026-05-27T14:16:00.000Z
Source modification: 2026-10-28T17:31:01.396ZDocument fingerprint
d5cb07a84ea1fc835a9b660805f32861172c667903e8a11c05f4b83f7127320c - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:50.495ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
26803053ff9e9a9c4d07dd9ba39f54847c695213553a324e41cda0e50deeeb02
Official status history
- UNKNOWN → PUBLISHED · · evidence