Improper Certificate Validation in Erlang OTP - CVE-2026-42791

 

Improper Certificate Validation in Erlang OTP - CVE-2026-42791

Published: July 2, 2026


Vulnerability identifier: #VU136815
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-42791
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Erlang OTP
Debian Linux
erlang (Debian package)

How to mitigate CVE-2026-42791

Install security update from vendor's website.

Erlang OTP - addressed in versions 27.3.4.12, 28.5.0.1, 29.0.1
erlang (Debian package) - update to 1:27.3.4.1+dfsg-1+deb13u3

External References

Related Security Bulletins