CVE-2026-42789
erlang erlang\/otp
Patch priority
RegularFix with the next regular update.
- CVSS
- 4.8
- Severity
- 4.8
- EPSS
- 0.4 %
- Percentile
- 34
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run erlang erlang\/otp. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDImproper 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.
- Vendor / product
- erlang erlang\/otp
- Published
- 27.05.2026
- Modified
- 20.11.2026
- CWE
- CWE-295
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Vendor updates
7- Red Hat: RHSA-2026:63160 – RHSA-2026:63160 erlang27-0:27.3.4.17-1.hum1@aarch64 security update 03.09.2026 · Patch day
- SUSE: SUSE-SU-2026:3645-1 – Security update for erlang 19.08.2026 · Critical · Patch day
- Red Hat: RHSA-2026:54757 – RHSA-2026:54757 erlang security update 14.08.2026 · Patch day
- SUSE: SUSE-SU-2026:3579-1 – Security update for erlang26 11.08.2026 · Critical · Patch day
- Red Hat: RHSA-2026:39809 – RHSA-2026:39809 erlang security update 15.07.2026 · Patch day
- SUSE: SUSE-SU-2026:22082-1 – Security update for erlang 15.06.2026 · Critical · Patch day
- Microsoft: Mariner 31.05.2026 · High · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.