CVE-2026-42789: Improper Following of a Certificate's Chain of Trust vulnerability in Erlang OTP public_key (pubkey_cert modul
CVE-2026-42789 is a medium-severity flaw (CVSS 4.8) affecting erlang\/otp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42789?
erlang\/otp: upgrade to 26.2.5.21, 27.3.4.12, 28.5.0.1, 29.0.1. Exact commands for each OS are on this page.
Is CVE-2026-42789 being exploited?
CVE-2026-42789 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42789 affect?
CVE-2026-42789 affects erlang\/otp. Severity is medium (CVSS 4.8). 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/sr
How urgent is CVE-2026-42789?
Priority 30/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-49759 HIGH 8.2 UPGRADE UPGRADE Stack-based Buffer Overflow vulnerability in Erlang OTP erts (inet_drv) allows an unauthenticated remote attac
- CVE-2026-42790 HIGH 8.1 UPGRADE Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_cert and public_key modules) al
- CVE-2026-48859 MEDIUM 5.3 UPGRADE UPGRADE Observable Timing Discrepancy vulnerability in Erlang/OTP ssh (ssh_auth, ssh_options modules) allows unauthent
- CVE-2026-48856 MEDIUM 6.5 UPGRADE UPGRADE Sensitive Data Exposure vulnerability in Erlang OTP inets (httpc_response module) allows Retrieve Embedded Sen
- CVE-2026-48860 MEDIUM 6.5 UPGRADE UPGRADE Reliance on IP Address for Authentication vulnerability in Erlang/OTP ssl (inet_tls_dist module) allows unauth