Home / Erlang / OTP / CVE-2026-42791
CVE-2026-42791: is it exploited, and which versions of Erlang OTP are affected and fixed?
CVE-2026-42791 is an improper certificate validation vulnerability in Erlang OTP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: OTP 1.16 and later and OTP 27.0 and later (CVE record by EEF). Fixed in 1.17.1.3, 1.20.3.1, 1.21.1, 27.3.4.12 and 2 more (CVE record by EEF). Severity: Medium (6.3, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 20, 2026, 05:59 UTC and NVD November 20, 2026, 07:04 UTC.
What is 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 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.
From the CVE record by EEF, last updated November 20, 2026, 05:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Erlang | OTP public_key | 1.16 and later | 1.17.1.3, 1.20.3.1, 1.21.1 |
| Erlang | OTP otp | 27.0 and later | 27.3.4.12, 28.5.0.1, 29.0.1 |
| Erlang | OTP erlang/otp | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| erlang | erlang\/otp | from 27.0 before 27.3.4.12 | application |
| erlang | erlang\/otp | from 28.0 before 28.5.0.1 | application |
| erlang | erlang\/otp | from 29.0 before 29.0.1 | application |
NVD analysis (status Modified), last modified November 20, 2026, 06:17 UTC.
How severe is CVE-2026-42791?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N | EEF |
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42791 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 27, 2026)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Is there a workaround? (from the CVE record)
* For TLS clients using the ssl application, disable OCSP stapling by setting {stapling, no_staple} in the client options, or switch to CRL-based revocation checking with {crl_check, true}. * For applications calling public_key:pkix_ocsp_validate/5 directly, validate the responder certificate's validity period in application code before calling the function.
Where are the vendor advisories and references?
- OCSP Responder Certificate Accepted After Expiry in public_key vendor-advisory, related
- EEF CNA record for CVE-2026-42791 related
- OSV record EEF-CVE-2026-42791 related
- Erlang/OTP version ordering x_version-scheme
- Introducing commit 2b1a742 in erlang/otp related
- Fix commit 7995f1f in erlang/otp patch
- Fix commit b3870e0 in erlang/otp patch
Who found and reported it?
- Jakub Witczak (remediation developer)
- Ingela Anderton Andin (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 29, 2026
- Published
- May 27, 2026, 12:23 UTC
- CVE record updated
- November 20, 2026, 05:57 UTC by EEF
- NVD
- Modified, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 05:59 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect OTP?
- Apr 16, 2025CVE-2025-32433 erlang otp: missing authentication for a critical function exploited
- Nov 24, 2026CVE-2026-115747 Erlang OTP: memory corruption (buffer overflow)
- Nov 24, 2026CVE-2026-125658 Erlang OTP: use after free
- Nov 24, 2026CVE-2026-124286 Erlang OTP: cryptographic signature not verified
- Nov 24, 2026CVE-2026-120961 Erlang OTP: out-of-bounds read
- Nov 24, 2026CVE-2026-117642 Erlang OTP: uncontrolled recursion
- Nov 24, 2026CVE-2026-116293 Erlang OTP: quantity not validated
- Nov 24, 2026CVE-2026-116225 Erlang OTP: quantity not validated
Questions about CVE-2026-42791
Is CVE-2026-42791 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Erlang OTP are affected by CVE-2026-42791?
OTP 1.16 and later and OTP 27.0 and later, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-42791?
1.17.1.3, 1.20.3.1, 1.21.1, 27.3.4.12, 28.5.0.1 and 29.0.1, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42791?
Medium (6.3, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42791?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.