Home / Erlang / OTP / CVE-2026-42789
CVE-2026-42789: is it exploited, and which versions of Erlang OTP are affected and fixed?
CVE-2026-42789 is an improper certificate validation vulnerability in Erlang OTP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: OTP 0.22 and later and OTP 17.0 and later (CVE record by EEF). Fixed in 1.17.1.7, 1.20.3.6, 1.21.8, 27.3.4.19 and 2 more (CVE record by EEF). Severity: High (7.0, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is 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.
From the CVE record by EEF, last updated November 20, 2026, 06:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Erlang | OTP public_key | 0.22 and later | 1.17.1.7, 1.20.3.6, 1.21.8 |
| Erlang | OTP otp | 17.0 and later | 27.3.4.19, 28.5.0.8, 29.1.2 |
| Erlang | OTP erlang/otp | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| erlang | erlang\/otp | from 17.0 before 26.2.5.21 | application |
| erlang | erlang\/otp | from 27.0 before 27.3.4.12 | application |
| erlang | erlang\/otp | from 28.0 before 28.5.0.1 | application |
| erlang | erlang\/otp | from 29.0 before 29.0.1 | application |
NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.
How severe is CVE-2026-42789?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N | EEF |
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N | redhat-SADP |
| Medium 4.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42789 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 27, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Is there a workaround? (from the CVE record)
The verify_fun option in the ssl or public_key application can be used to ensure that path validation rejects chains where an intermediate certificate does not have basicConstraints cA:true.
Where are the vendor advisories and references?
- GitHub Advisory related, vendor-advisory
- EEF CNA record for CVE-2026-42789 related
- OSV record EEF-CVE-2026-42789 related
- Erlang/OTP version ordering x_version-scheme
- Fix commit 0a05b7c in erlang/otp patch
- Fix commit 75ca4c0 in erlang/otp patch
- Fix commit 82af606 in erlang/otp patch
- https://access.redhat.com/security/cve/CVE-2026-42789 vdb-entry, x_refsource_REDHAT
- RHBZ#2482093 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42789.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:54757 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39809 vendor-advisory, x_refsource_REDHAT
Who found and reported it?
- John Downey (finder)
- Jakub Witczak (analyst)
- Ingela Anderton Andin (remediation developer)
- Ada Logics (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 29, 2026
- Published
- May 27, 2026, 12:23 UTC
- CVE record updated
- November 20, 2026, 06:01 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect OTP?
- Apr 16, 2025CVE-2025-32433 erlang otp: missing authentication for a critical function exploited
- Nov 24, 2026CVE-2026-115747 Erlang OTP: memory corruption (buffer overflow)
- Nov 24, 2026CVE-2026-125658 Erlang OTP: use after free
- Nov 24, 2026CVE-2026-124286 Erlang OTP: cryptographic signature not verified
- Nov 24, 2026CVE-2026-120961 Erlang OTP: out-of-bounds read
- Nov 24, 2026CVE-2026-117642 Erlang OTP: uncontrolled recursion
- Nov 24, 2026CVE-2026-116293 Erlang OTP: quantity not validated
- Nov 24, 2026CVE-2026-116225 Erlang OTP: quantity not validated
Questions about CVE-2026-42789
Is CVE-2026-42789 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Erlang OTP are affected by CVE-2026-42789?
OTP 0.22 and later and OTP 17.0 and later, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-42789?
1.17.1.7, 1.20.3.6, 1.21.8, 27.3.4.19, 28.5.0.8 and 29.1.2, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42789?
High (7.0, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42789?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.