Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-42790

published high CVSS 4.0 · 7.6

nameConstraints DNS bypass via subject CommonName fallback in public_key hostname verification

Published
27 May 2026, 15:09:01 UTC
Updated
20 Nov 2026, 05:57:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Erlang — public_keyOTP · 1.4 and later (affected · otp); changes: unaffected at 1.15.1.7, unaffected at 1.17.1.3, unaffected at 1.20.3.1, unaffected at 1.21.1 · Other versions: unaffected Version-specific Not stated EEF
Erlang — otpOTP · 19.3 and later (affected · otp); changes: unaffected at 26.2.5.21, unaffected at 27.3.4.12, unaffected at 28.5.0.1, unaffected at 29.0.1 · Other versions: unaffected Version-specific Not stated EEF
Erlang — erlang/otpOTP · b0c245e8132bb13171e277b1af59c0cec00c9459 and later (affected · git); changes: unaffected at 0769050c69d73762672b0db1347b6993a5b31759, unaffected at 21abed64eb2026b5f82f432709e4e932f9be389a, unaffected at fb67c6d1836f51105a96d8b769e71e4215a79457 · Other versions: unaffected Version-specific Not stated EEF
Red Hat — erlangRed Hat OpenStack Platform 16.2 · 0:23.3.4.18-2.el8ost and later · Other versions: affected Unaffected Not stated redhat-SADP
Debian trixie erlang Advisory build 1:27.3.4.1+dfsg-1+deb13u3 DSA-6464-1
SUSE / openSUSE SLE-15-SP4 erlangaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
Ubuntu bionic erlang Advisory build 1:20.2.2+dfsg-1ubuntu2+esm4 USN-8901-1
SUSE / openSUSE SLE-15-SP4 erlangppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — erlangRed Hat OpenStack Services on OpenShift 18.0 · 0:26.2.5.21-2.el9ost and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — erlang27Red Hat Hardened Images Affected Not stated redhat-SADP
Red Hat — erlangRed Hat OpenStack Platform 17.1 Affected Not stated redhat-SADP
SUSE / openSUSE SLE-15-SP4 erlangs390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP4 erlangx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlangaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlangppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlangs390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlangx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlangaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlangppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlangs390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlangx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlangaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlangppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlangs390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlangx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-16 erlangaarch64 Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE SLE-16 erlangppc64le Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE SLE-16 erlangs390x Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE SLE-16 erlangx86_64 Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE openSUSE-Leap-16.0 erlangaarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlangppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlangs390x Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlangx86_64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Tumbleweed erlangaarch64 Advisory build 28.5.0.4-1.1 OPENSUSE-SU-2026:11559-1
SUSE / openSUSE openSUSE-Tumbleweed erlangppc64le Advisory build 28.5.0.4-1.1 OPENSUSE-SU-2026:11559-1
SUSE / openSUSE openSUSE-Tumbleweed erlangs390x Advisory build 28.5.0.4-1.1 OPENSUSE-SU-2026:11559-1
SUSE / openSUSE openSUSE-Tumbleweed erlangx86_64 Advisory build 28.5.0.4-1.1 OPENSUSE-SU-2026:11559-1
SUSE / openSUSE openSUSE-Tumbleweed erlang27aarch64 Advisory build 27.1.3-2.1 OPENSUSE-SU-2026:10947-1
SUSE / openSUSE openSUSE-Tumbleweed erlang27ppc64le Advisory build 27.1.3-2.1 OPENSUSE-SU-2026:10947-1
SUSE / openSUSE openSUSE-Tumbleweed erlang27s390x Advisory build 27.1.3-2.1 OPENSUSE-SU-2026:10947-1
SUSE / openSUSE openSUSE-Tumbleweed erlang27x86_64 Advisory build 27.1.3-2.1 OPENSUSE-SU-2026:10947-1
Ubuntu focal erlang Advisory build 1:22.2.7+dfsg-1ubuntu0.5+esm3 USN-8901-1
Ubuntu jammy erlang Advisory build 1:24.2.1+dfsg-1ubuntu0.8 USN-8901-1
Ubuntu noble erlang Advisory build 1:25.3.2.8+dfsg-1ubuntu4.8 USN-8901-1
Ubuntu resolute erlang Advisory build 1:27.3.4.6+dfsg-1ubuntu0.2 USN-8901-1
SUSE / openSUSE SLE-15-SP4 erlang-epmdaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP4 erlang-epmdppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP4 erlang-epmds390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP4 erlang-epmdx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlang-epmdaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlang-epmdppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlang-epmds390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP5 erlang-epmdx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlang-epmdaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlang-epmdppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlang-epmds390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlang-epmdx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP6 erlang26aarch64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP6 erlang26ppc64le Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP6 erlang26s390x Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP6 erlang26x86_64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP6 erlang26-epmdaarch64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP6 erlang26-epmdppc64le Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP6 erlang26-epmds390x Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP6 erlang26-epmdx86_64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang-epmdaarch64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlang-epmdppc64le Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlang-epmds390x Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlang-epmdx86_64 Advisory build 23.3.4.19-150300.3.39.1 SUSE-SU-2026:3645-1
SUSE / openSUSE SLE-15-SP7 erlang26aarch64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang26ppc64le Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang26s390x Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang26x86_64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang26-epmdaarch64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang26-epmdppc64le Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang26-epmds390x Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-15-SP7 erlang26-epmdx86_64 Advisory build 26.2.1-150300.7.28.1 SUSE-SU-2026:3579-1
SUSE / openSUSE SLE-16 erlang-epmdaarch64 Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE SLE-16 erlang-epmdppc64le Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE SLE-16 erlang-epmds390x Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE SLE-16 erlang-epmdx86_64 Advisory build 27.1.3-160000.5.1 SUSE-SU-2026:22082-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debuggeraarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debuggerppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debuggers390x Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debuggerx86_64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debugger-srcaarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debugger-srcppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debugger-srcs390x Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-debugger-srcx86_64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzeraarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzerppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzers390x Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzerx86_64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzer-srcaarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzer-srcppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzer-srcs390x Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-dialyzer-srcx86_64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameteraarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameterppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameters390x Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameterx86_64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameter-srcaarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameter-srcppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameter-srcs390x Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-diameter-srcx86_64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-docaarch64 Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1
SUSE / openSUSE openSUSE-Leap-16.0 erlang-docppc64le Advisory build 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · EEF · cna

en · redhat-SADP · adp

A flaw was found in Erlang OTP public_key. This improper certificate validation vulnerability allows a subordinate Certificate Authority (CA) with restricted DNS nameConstraints to bypass these restrictions. By issuing a leaf certificate that lacks a Subject Alternative Name (SAN) but contains a crafted CommonName (CN), an attacker can trick an Erlang OTP TLS client into accepting it as valid for an out-of-scope hostname. This can lead to hostname spoofing and potential man-in-the-middle attacks, compromising the integrity and confidentiality of communications.

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.6 / 10
Severity
high
Provider
EEF · cna
Vector string
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.4 high redhat-SADP · adp CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Erlang OTP 1.4 and later (affected · otp); changes: unaffected at 1.15.1.7, unaffected at 1.17.1.3, unaffected at 1.20.3.1, unaffected at 1.21.1Default: unaffected EEF · cna
Erlang OTP 19.3 and later (affected · otp); changes: unaffected at 26.2.5.21, unaffected at 27.3.4.12, unaffected at 28.5.0.1, unaffected at 29.0.1Default: unaffected EEF · cna
Erlang OTP b0c245e8132bb13171e277b1af59c0cec00c9459 and later (affected · git); changes: unaffected at 0769050c69d73762672b0db1347b6993a5b31759, unaffected at 21abed64eb2026b5f82f432709e4e932f9be389a, unaffected at fb67c6d1836f51105a96d8b769e71e4215a79457Default: unaffected EEF · cna
Red Hat Red Hat OpenStack Platform 16.2 0:23.3.4.18-2.el8ost and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenStack Services on OpenShift 18.0 0:26.2.5.21-2.el9ost and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat Hardened Images Default: affected redhat-SADP · adp
Red Hat Red Hat OpenStack Platform 17.1 Default: affected redhat-SADP · adp

Weaknesses

3
  • CWE-295 CWE-295 Improper Certificate Validation (EEF · cna)
  • CWE-297 CWE-297 Improper Validation of Certificate with Host Mismatch (EEF · cna)
  • CWE-295 Improper Certificate Validation (redhat-SADP · adp)

References

13

Provider assertions

3

EEF · cna

nameConstraints DNS bypass via subject CommonName fallback in public_key hostname verification

redhat-SADP · adp

erlang: Erlang OTP public_key: Certificate validation bypass allows hostname spoofing

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
aa77a394c43c2de3d00895e770401b14d9695cdaa095e16198d71cd630976379
Ingested
20 Nov 2026, 06:03:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected