ADVISORIES

Vulnerability

CVE-2026-42789

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.

16 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • AZL-89172

    CVE-2026-42789 affecting package erlang for versions less than 26.2.5.21-1

    CVE-2026-42789 Azure Linux Updated 15 October 2026
  • CNA-CVE-2026-42789

    Non-CA certificate accepted as intermediate issuer in public_key path validation

    CVE-2026-42789 Erlang Updated 20 November 2026
  • DEBIAN-CVE-2026-42789

    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.…

    CVE-2026-42789 Debian Updated 20 November 2026
  • DSA-6464-1

    erlang - security update

    CVE-2026-28808CVE-2026-28810CVE-2026-32144CVE-2026-32147 Debian Updated 20 November 2026
  • RHSA-2026:39809

    Red Hat Security Advisory: Red Hat OpenStack Services on OpenShift 18.0 (erlang) security update

    CVE-2026-42789CVE-2026-42790 Red Hat Updated 22 September 2026
  • RHSA-2026:54757

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 security advisory

    CVE-2025-61726CVE-2025-61729CVE-2025-65073CVE-2025-68121 Red Hat Updated 24 November 2026
  • RHSA-2026:63160

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2026-42789CVE-2026-42790CVE-2026-42791CVE-2026-48855 Red Hat Updated 23 November 2026
  • SUSE-SU-2026:22082-1

    Security update for erlang

    CVE-2025-4748CVE-2026-32147CVE-2026-42789CVE-2026-42790 SUSE Updated 16 June 2026
  • SUSE-SU-2026:3579-1

    Security update for erlang26

    CVE-2026-28810CVE-2026-42789CVE-2026-42790CVE-2026-42792 SUSE Updated 12 August 2026
  • SUSE-SU-2026:3645-1

    Security update for erlang

    CVE-2026-28810CVE-2026-42789CVE-2026-42790CVE-2026-42792 SUSE Updated 21 August 2026
  • SUSEVEX-CVE-2026-42789

    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.…

    Important CVE-2026-42789 SUSE Updated 15 October 2026
  • UBUNTU-CVE-2026-42789

    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.…

    CVE-2026-42789 Ubuntu Updated 28 October 2026
  • USN-8901-1

    erlang vulnerabilities

    CVE-2025-26618CVE-2025-30211CVE-2025-4748CVE-2026-21620 Ubuntu Updated 8 October 2026
  • openSUSE-SU-2026:10947-1

    erlang27-27.1.3-2.1 on GA media

    CVE-2025-4748CVE-2025-48038CVE-2025-48039CVE-2026-21620 openSUSE Updated 4 June 2026
  • openSUSE-SU-2026:11559-1

    erlang-28.5.0.4-1.1 on GA media

    CVE-2026-28808CVE-2026-42789CVE-2026-42790CVE-2026-42791 openSUSE Updated 21 August 2026
  • openSUSE-SU-2026:20907-1

    Security update for erlang

    CVE-2025-4748CVE-2026-32147CVE-2026-42789CVE-2026-42790 openSUSE Updated 9 June 2026

References