CVE-2026-42791
CVE-2026-42791 — OCSP responder certificate validity period not checked in public_key
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…
Published Updated Sources: cvelistV5, EEF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.3 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-295
- CWE-672
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /5, /3, /public_key/src/pubkey_ocsp.erl, /notAfter), /OTP.
References
7 on the record
- github.com/erlang/otp/security/advisories/GHSA-cjxj-wj6x-3fff
vendor-advisory, related
- cna.erlef.org/cves/CVE-2026-42791.html
related
- osv.dev/vulnerability/EEF-CVE-2026-42791
related
- www.erlang.org/doc/system/versions.html#order-of-versions
x_version-scheme
- github.com/erlang/otp/commit/2b1a742c651b90f8a7a1fb2ddde73f29915ea376
related
- github.com/erlang/otp/commit/7995f1fdaee3da569bb810358ce0f546471d169b
patch
- github.com/erlang/otp/commit/b3870e02405c709a872b01ba6086065620cdfe76
patch
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-85102 Improper Certificate Validation in Quantum Security GatewayCVSS 9.8 · CISA KEV
- CVE-2022-26923 Microsoft Active Directory Domain Services Privilege Escalation VulnerabilityCVSS 9.0 · CISA KEV
- CVE-2020-0601 Microsoft Windows CryptoAPI Spoofing VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2022-20703 Cisco Small Business RV Series Routers Stack-based Buffer Overflow VulnerabilityCVSS 8.0 · CISA KEV
- CVE-2023-20963 Android Framework Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2023-41991 Apple Multiple Products Improper Certificate Validation VulnerabilityCVSS 5.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.