CVEBrief

Home / Erlang / OTP / CVE-2026-42790

CVE-2026-42790: is it exploited, and which versions of Erlang OTP are affected and fixed?

CVE-2026-42790 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, 16:09 UTC). Affected: OTP 1.4 and later and OTP 19.3 and later (CVE record by EEF). Fixed in 1.15.1.7, 1.17.1.3, 1.20.3.1, 1.21.1 and 2 more (CVE record by EEF). Severity: High (7.6, CVSS 4.0, from EEF).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 20, 2026, 05:59 UTC and NVD November 20, 2026, 07:04 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
OTP 1.4 and later and OTP 19.3 and later
CVE record by EEF
Fixed in
1.15.1.7, 1.17.1.3, 1.20.3.1, 1.21.1 and 2 more
CVE record by EEF
Severity
High 7.6
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.43% in 30 days
higher than 39% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-42790?

nameConstraints DNS bypass via subject CommonName fallback in public_key hostname verification

Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_cert and public_key modules) allows a DNS nameConstraints bypass via subject CommonName fallback in TLS hostname verification. Two flaws combine to allow a subordinate CA whose DNS nameConstraints are restricted (e.g. permitted;DNS:allowed.example.com) to issue a leaf certificate that an OTP TLS client accepts as a valid identity for an out-of-scope hostname (e.g. victim.example.com): First, pubkey_cert:validate_names/6 in lib/public_key/src/pubkey_cert.erl only checks SAN DNS entries against nameConstraints. Per RFC 5280, a permitted DNS subtree only restricts certificates that contain a DNS-typed name. A leaf with no subjectAltName therefore trivially satisfies any permitted;DNS:... constraint regardless of its subject commonName. Second, public_key:pkix_verify_hostname/3 in lib/public_key/src/public_key.erl falls back to the subject commonName when no subjectAltName is present, extracting id-at-commonName attributes as presented IDs and matching them against the reference hostname. The strict pkix_verify_hostname_match_fun(https) matcher does not suppress this fallback. The result is that path validation accepts a CN-only leaf under a DNS-constrained intermediate (no SAN means the nameConstraints are not triggered), and hostname verification then accepts it via the CN fallback. The bypass is reachable from stock ssl:connect with verify_peer, a trusted CA, SNI, and the canonical strict https hostname matcher. This issue affects OTP from OTP 19.3 before OTP 26.2.5.21, OTP 27.3.4.12, OTP 28.5.0.1, and OTP 29.0.1, corresponding to public_key from 1.4 before 1.15.1.7, 1.17.1.3, 1.20.3.1, and 1.21.1.

From the CVE record by EEF, last updated November 20, 2026, 05:57 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
ErlangOTP public_key1.4 and later1.15.1.7, 1.17.1.3, 1.20.3.1, 1.21.1
ErlangOTP otp19.3 and later26.2.5.21, 27.3.4.12, 28.5.0.1, 29.0.1
ErlangOTP erlang/otpnot 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?

VendorProductVersionsType
erlangerlang\/otpfrom 19.3 before 26.2.5.21application
erlangerlang\/otpfrom 27.0 before 27.3.4.12application
erlangerlang\/otpfrom 28.0 before 28.5.0.1application
erlangerlang\/otpfrom 29.0 before 29.0.1application

NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.

How severe is CVE-2026-42790?

ScoreVersionVectorSource
High 7.6CVSS 4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NEEF
High 7.4CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nredhat-SADP
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NNVD

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-42790 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 27, 2026)
EPSS
0.43% probability of exploitation activity in the next 30 days, percentile 38.8 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

The verify_fun option in the ssl application can be used to ensure that TLS connections fail if the end-entity certificate is missing the subjectAltName extension or has no domain name. Do not use a verify_fun that accepts the name_not_permitted error.

Where are the vendor advisories and references?

Who found and reported it?

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, 15:09 UTC
CVE record updated
November 20, 2026, 05:57 UTC by EEF
NVD
Modified, last modified November 20, 2026, 06:17 UTC
Last checked
CVE list November 20, 2026, 05:59 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect OTP?

Every CVE in OTP

Questions about CVE-2026-42790

Is CVE-2026-42790 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Erlang OTP are affected by CVE-2026-42790?

OTP 1.4 and later and OTP 19.3 and later, per the CVE record by EEF. The tables above give every range the sources list.

Which version fixes CVE-2026-42790?

1.15.1.7, 1.17.1.3, 1.20.3.1, 1.21.1, 26.2.5.21 and 27.3.4.12, per the CVE record by EEF. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-42790?

High (7.6, CVSS 4.0, from EEF). The severity table above shows each score with its source.

Where is the official record of CVE-2026-42790?

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.