Improper Certificate Validation in Erlang OTP - CVE-2026-42791
Published: July 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass certificate revocation checks.
The vulnerability exists due to improper certificate validation in public_key OCSP response verification when processing OCSP responses. A remote attacker can present a forged OCSP response signed with the private key of an expired or not-yet-valid OCSP responder certificate to bypass certificate revocation checks.
This can affect SSL/TLS clients using OCSP stapling and applications that call public_key:pkix_ocsp_validate/5 directly. Exploitation requires possession of the private key of a legitimately issued OCSP responder certificate outside its validity period and the ability to deliver the forged OCSP response to the victim.
Affected software
Debian Linux
erlang (Debian package)
How to mitigate CVE-2026-42791
erlang (Debian package) - update to 1:27.3.4.1+dfsg-1+deb13u3