llamaCVEVulnerability Intelligence
/
OTP

CVE-2026-42789

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

UnclearParche disponibleimproper certificate validation
Descargar PNG JSON
CVSS 4.0
7.0
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N Fuente: CNA
8.0adp · CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
4.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones1.17.1.7 · 27.3.4.19
Exposición176 dDesde la divulgación, 27 may 2026, 7:23 a. m.
Detección148 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
27 may 26
22 oct 26
24 oct 26
19 nov 26
27 may 26
10 jul 26
23 ago 26
6 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-42789 divulgada · CVSS 7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects OTP 17.0 through 27.3.4.19 applications using public_key:pkix_path_validation/3 or the ssl application. Fixed in OTP 27.3.4.19.

¿Qué significa?Path validation accepts a certificate with basicConstraints cA:false and no keyUsage extension as an intermediate issuer when a CA in the trust store issued it. The holder of that certificate's private key can then forge leaf certificates for arbitrary identities, and public_key:pkix_path_validation/3 accepts the resulting chain.
¿Quién está afectado?Applications that call public_key:pkix_path_validation/3 directly, or that use the ssl application, on OTP versions from 17.0 up to but not including 27.3.4.19. To check a version, run erl -noshell -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().'
¿Qué hacer?Upgrade to OTP 27.3.4.19, which is the fixed version for this vulnerability. Erlang also recommends 29.1.2 or 28.5.0.8 as newer versions.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Certificate with basicConstraints cA:false and no keyUsage extension, issued by a CA in the victim's trust store“Any party that holds an end-entity certificate with basicConstraints cA:false and no keyUsage extension, issued by a CA in the victim's trust store”
02
Application uses public_key:pkix_path_validation/3 directly or the ssl application“Any application using public_key:pkix_path_validation/3 directly, or the ssl application are affected.”
¿Quién debe revisar?Teams running Erlang/OTP public_key or the ssl application for TLS or mTLS, on OTP 17.0 up to the patched 27.3.4.19, 28.5.0.8 and 29.1.2 releases
MitigaciónUse the 'ssl' or 'public_key' 'verify_fun' option to make path validation fail chains where an intermediate certificate does not assert basicConstraints cA:true
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · adp
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
public_key≥ 0.22 < 1.17.1.7
otp≥ 17.0 < 27.3.4.19
0.22
1.17.1.7
17.0
27.3.4.19
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
OTP
Corregida 1.17.1.7, 27.3.4.19 — —
Versiones corregidas1.17.1.727.3.4.19
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALEEF
MitigaciónThe verify_fun option in the ssl or public_key application can be used to ensure that path validation rejects chains where an intermediate certificate does not have basicConstraints cA:true.EEF
MitigaciónMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.redhat-SADP
solutionRHSA-2026:54757: Red Hat OpenStack Platform 16.2redhat-SADP
solutionRHSA-2026:39809: Red Hat OpenStack Services on OpenShift 18.0redhat-SADP
Referencias
Advisoryhttps://access.redhat.com/errata/RHSA-2026:54757
Advisoryhttps://access.redhat.com/errata/RHSA-2026:39809
Fabricantehttps://github.com/erlang/otp/security/advisories/GHSA-c99q-jmpx-v8qq
Fabricantehttps://www.erlang.org/doc/system/versions.html#order-of-versions
Parchehttps://github.com/erlang/otp/commit/0a05b7ca33fb0b3f0a6cb9ae34252bb3a74032b8
Parchehttps://github.com/erlang/otp/commit/75ca4c0dc2bbdb286ac3c3fe89cb4b4d2b4dc333
Parchehttps://github.com/erlang/otp/commit/82af606b5437c4de1276dbcc8855a47e88231226
Análisishttps://bugzilla.redhat.com/show_bug.cgi?id=2482093
Otrahttps://cna.erlef.org/cves/CVE-2026-42789.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-42789
Otrahttps://access.redhat.com/security/cve/CVE-2026-42789
Otrahttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42789.json

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.