Erlang OTP: OCSP authorization bypass in public_key (CVE-2026-32144)
The public_key:pkix_ocsp_validate/5 function in Erlang/OTP fails to verify the digital signature of CA-designated responder certificates, enabling attackers to forge OCSP responses and bypass revocation checks for compromised TLS servers.
CVE search metadata
CVE search record: CVE-2026-32144. Severity: high. CVSS: 7.4. EPSS: 0.21%. KEV: no. Product: Erlang/OTP, Erlang/public_key, Erlang/ssl. Brief: Erlang OTP: OCSP authorization bypass in public_key (CVE-2026-32144). Brief link: https://feed.craftedsignal.io/briefs/2026-11-erlang-otp-cve-2026-32144/
Triage facts
Revision 1- Applicability
- Erlang/OTP, Erlang/public_key +1
- Evidence
- Unknown
- Severity
- High
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 20, 08:17 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
Overview
A flaw in the public_key:pkix_ocsp_validate/5 function within the Erlang/OTP public_key module allows for an OCSP designated-responder authorization bypass. The function fails to cryptographically verify that a CA-designated responder certificate was signed by the issuing CA, relying instead on issuer name matching and the presence of the OCSPSigning extended key usage (EKU).
Attack Chain
An attacker capable of intercepting or controlling OCSP traffic can present a forged self-signed certificate featuring the required issuer name and OCSPSigning EKU. This allows the attacker to forge OCSP responses that falsely mark revoked certificates as valid.
Impact
SSL/TLS clients using OCSP stapling may accept connections to servers with revoked certificates, potentially facilitating the exposure of sensitive data to compromised servers. Impact for applications using the public_key:pkix_ocsp_validate/5 API directly depends on the specific usage context.
Recommendation
For SSL users, avoid enabling the OCSP validation setting (default is {stapling, no_staple}) and consider using CRL-based revocation checking by setting the {crl_check, true} SSL option. For applications using public_key:pkix_ocsp_validate/5 directly, pass an {is_trusted_responder_fun, Fun} option with a function that validates trusted responder certificates and restrict OCSP responder access to trusted endpoints via network controls.