CVE-2026-42791

erlang: Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_ocsp module) allows forged OCSP respon...

CVE-2026-42791 is fixed in 37 products on 1 platform, first by SUSE-SU-2026:22082-1, released June 5, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
3.7
low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0032
24th percentile

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 29.0.1, OTP 28.5.0.1 and OTP 27.3.4.12, corresponding to public_key from 1.16 before 1.21.1, 1.20.3.1 and 1.17.1.3.

Where it's fixed

ProductFixed inFixReleased
Linux
erlang · Debian 13.5 (trixie) 1:27.3.4.1+dfsg-1+deb13u3 DEBIAN-CVE-2026-42791 Jun 24, 2026
erlang · Debian 14 1:27.3.4.12+dfsg-1 DEBIAN-CVE-2026-42791 Jun 24, 2026
erlang · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang · opensuse-leap 16.0 27.1.3-160000.5.1 OPENSUSE-SU-2026:20907-1 Jun 5, 2026
erlang · sles 16.0 27.1.3-160000.5.1 SUSE-SU-2026:22082-1 Jun 5, 2026
erlang-asn1 · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-asn1 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-base · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-base 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-common-test · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-common-test 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-crypto · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-crypto 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-debugger · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-debugger 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-dialyzer · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-dialyzer 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-diameter · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-diameter 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-edoc · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-edoc 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-eldap · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-eldap 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-et · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-et 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-eunit · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-eunit 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-examples · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-examples 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-ftp · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-ftp 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-inets · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-inets 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-jinterface · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-jinterface 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-megaco · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-megaco 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-mnesia · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-mnesia 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-mode · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-mode 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-nox · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-nox 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-observer · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-observer 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-odbc · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-odbc 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-os-mon · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-os-mon 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-parsetools · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-parsetools 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-public-key · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-public-key 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-reltool · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-reltool 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-runtime-tools · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-runtime-tools 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-snmp · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-snmp 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-src · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-src 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-ssh · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-ssh 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-ssl · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-ssl 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-syntax-tools · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-syntax-tools 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-tftp · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-tftp 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-tools · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-tools 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-wx · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-wx 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-x11 · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-x11 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026
erlang-xmerl · Ubuntu 26.04.1 LTS (resolute) 1:27.3.4.6+dfsg-1ubuntu0.2 erlang-xmerl 1:27.3.4.6+dfsg-1ubuntu0.2 Sep 22, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.