llamaCVEVulnerability Intelligence
/
OTP

CVE-2026-42791

OCSP responder certificate validity period not checked in public_key

Parche disponibleimproper certificate validation
Descargar PNG JSON
CVSS 4.0
6.3
Media
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N Fuente: CNA
3.7NVD · CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones1.17.1.3 · 27.3.4.12
Exposición175 dDesde la divulgación, 27 may 2026, 7:23 a. m.
Detección159 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
3 nov 26
11 nov 26
17 nov 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-42791 divulgada · CVSS 6.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_ocsp module) allows forged OCSP responses signed with an expired responder certificate to be accepted as valid. OCSP response verification in pubkey_ocsp:verify_response/5 and pubkey_ocsp:is_authorized_responder/3 in lib/public_key/src/pubkey_ocsp.erl does not check the validity period (notBefore/notAfter) of the OCSP responder certificate. An attacker who has obtained the private key of an expired CA-designated OCSP responder certificate can forge OCSP responses that Erlang/OTP accepts as valid. This affects TLS clients using OCSP stapling via the ssl application: a malicious or compromised server can present a revoked TLS certificate together with a forged OCSP response signed by an expired responder key, and the client will accept the revoked certificate as valid. It also affects applications calling public_key:pkix_ocsp_validate/5 directly, where the impact depends on the use case — server-side client certificate validation using this API may allow authentication bypass with a revoked client certificate. This issue affects OTP from OTP 27.0 before OTP 27.3.4.12, OTP 28.5.0.1, and OTP 29.0.1, corresponding to public_key from 1.16 before 1.17.1.3, 1.20.3.1, and 1.21.1.

Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida
public_key≥ 1.16 < 1.17.1.3
otp≥ 27.0 < 27.3.4.12
1.16
1.17.1.3
27.0
27.3.4.12
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
OTP
Corregida 1.17.1.3, 27.3.4.12 — —
Versiones corregidas1.17.1.327.3.4.12
Explotación

Arsenal público

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

Registro
EscenarioGENERALEEF
configurationFor the ssl application, OCSP stapling must be enabled by setting the stapling option to staple in the TLS client options. OCSP stapling is not enabled by default. Applications calling public_key:pkix_ocsp_validate/5 directly are unconditionally affected when that function is used.EEF
Mitigación* For TLS clients using the ssl application, disable OCSP stapling by setting {stapling, no_staple} in the client options, or switch to CRL-based revocation checking with {crl_check, true}. * For applications calling public_key:pkix_ocsp_validate/5 directly, validate the responder certificate's validity period in application code before calling the function.EEF
Referencias
Fabricantehttps://github.com/erlang/otp/security/advisories/GHSA-cjxj-wj6x-3fff
Fabricantehttps://www.erlang.org/doc/system/versions.html#order-of-versions
Parchehttps://github.com/erlang/otp/commit/7995f1fdaee3da569bb810358ce0f546471d169b
Parchehttps://github.com/erlang/otp/commit/b3870e02405c709a872b01ba6086065620cdfe76
Otrahttps://cna.erlef.org/cves/CVE-2026-42791.html
Otrahttps://osv.dev/vulnerability/EEF-CVE-2026-42791
Otrahttps://github.com/erlang/otp/commit/2b1a742c651b90f8a7a1fb2ddde73f29915ea376

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