BreachSpiderVerified, not vibes

CVE-2026-42791 in Erlang/Otp

Low 3.7

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/p...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.13.7
CVSS v46.3
EPSS0.3%
EPSS percentile19th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Erlang Erlang/Otp ≥ 27.0, < 27.3.4.12 ≥ 28.0, < 28.5.0.1 ≥ 29.0, < 29.0.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42791
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Published2026-05-27
Last modified2026-11-20
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-295: CWE-295

CWE-672: CWE-672

Related attack patterns (CAPEC)

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295

CAPEC-475 Signature Spoofing by Improper Validation via CWE-295

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A unscored severity vulnerability (CVE-2026-42791) affects the target system. 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/...

Questions

What is CVE-2026-42791?

A unscored severity vulnerability (CVE-2026-42791) affects the target system. 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/...

What is the CVSS score for CVE-2026-42791?

CVE-2026-42791 has CVSS 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.3%.

Is CVE-2026-42791 actively exploited?

No confirmed active exploitation of CVE-2026-42791 as of 2026-11-21.

How do I remediate CVE-2026-42791?

Apply vendor patches for CVE-2026-42791. Monitor Erlang advisories.

What systems are affected by CVE-2026-42791?

CVE-2026-42791 affects Erlang Erlang/Otp.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Erlang","product":"Erlang/Otp","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-20.