CVE catalog

CVE-2026-42768

Issue summary: The CMS_decrypt and PKCS7_decrypt functions are vulnerable to Bleichenbacher-style attack when an attacker is able to provide the CMS or S/MIME messages and observe the error code and/o

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.80% · Oct 25, 2026

Issue summary: The CMS_decrypt and PKCS7_decrypt functions are vulnerable to Bleichenbacher-style attack when an attacker is able to provide the CMS or S/MIME messages and observe the error code and/or decryption output. Impact summary: The Bleichenbacher-style attack allows an attacker to use the victim's vulnerable application as a way to decrypt or sign messages with the victim's private RSA key. The attack is possible in 2 variants. 1. The decryption API (CMS_decrypt(), PKCS7_decrypt()) is used without providing the recipient certificate. In this case OpenSSL iterates over every KeyTransRecipientInfo (KTRI) without stopping at the first success. An attacker who authors a message with two KTRI entries — the first one wrapping a real CEK under the victim's public key, the second with an arbitrary probe ciphertext — obtains opportunity to iterate the 2nd KTRI to get a valid PKCS#1 v1.5 padding if the error code of the application is available. That is a Bleichenbacher oracle (Bleichenbacher, CRYPTO '98): an adaptive-chosen-ciphertext side channel from which the attacker decrypts any RSA ciphertext to the victim's key or forges any PKCS#1 v1.5 signature under it. 2. When the decryption API (CMS_decrypt(), PKCS7_decrypt()) is provided with the recipient certificate, and the recipient is not found, a random key is substituted. An attacker who authors a message and is able to compare both error code and the result of the decryption, can mount a Bleichenbacher oracle. We are not aware of any applications that provide a remote attacker an opportunity to mount an attack described in these scenarios. We consider the existence of such application very unlikely, and for this reason this CVE has been evaluated as Low severity. To avoid these attacks, when RSA PKCS#1 v1.5 Key Transport is in use, the invoked EVP_PKEY_decrypt() will use the implicit rejection mechanism described in draft-irtf-cfrg-rsa-guidance. In previous OpenSSL releases the implicit rejection was explicitly disabled. The implicit rejection mechanism always returns a plaintext value, the symmetric key. This result is deterministic for the ciphertext and the private key. The length of the decryption result can happen to match the length of the key of the symmetric cipher that was used for the content encryption. When a certificate is not provided, the last RecipientInfo producing a key that looks valid will be used. It may cause getting garbage content on decryption. As a proper way to deal with this a recipient certificate has to be provided to identify the particular RecipientInfo for decryption. The FIPS modules in 4.0, 3.6, 3.5, and 3.4 are not affected by this issue, as CMS and S/MIME processing happens outside the OpenSSL FIPS module boundary.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopensslsid3.6.5-1fixed
Debianopensslforky3.6.5-1fixed
Debianopenssltrixie3.5.7-1~deb13u2fixed
Debianopenssltrixie-security3.5.7-1~deb13u3fixed
Debianopensslbookworm3.0.20-1~deb12u2not affected
Debianopensslbookworm-security3.0.22-1~deb12u2not affected
CpeopensslNot reported3.0.13-0ubuntu3.11fixed
Cpelibssl-devNot reported3.0.13-0ubuntu3.11fixed
Cpelibssl-docNot reported3.0.13-0ubuntu3.11fixed
Cpelibssl3t64Not reported3.0.13-0ubuntu3.11fixed
CpeopensslNot reported3.4.6fixed
CpeopensslNot reported3.5.7fixed
CpeopensslNot reported3.6.3fixed
CpeopensslNot reportedNot reportedunknown
CpeopensslNot reportedNot reportednot affected
Alpineopenssl3.213.3.7-r1fixed
Alpineopenssl3.223.5.7-r0fixed
Alpineopenssl3.233.5.7-r0fixed
Alpineopenssl3.243.5.7-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopensslsourcesid3.6.3-1not yet assignedNot reported[1139674]
Debianopensslsourceforky3.6.3-1not yet assignedNot reported[1139674]
Debianopensslsourcetrixie3.5.6-1~deb13u2not yet assignedNot reported[1139674]
DebianopensslsourcebookwormNot affectedunimportantNot reported[1139674]
CpeopensslcpeNot reported3.0.13-0ubuntu3.11Not reportedNot reportedNot reported
Cpelibssl-devcpeNot reported3.0.13-0ubuntu3.11Not reportedNot reportedNot reported
Cpelibssl-doccpeNot reported3.0.13-0ubuntu3.11Not reportedNot reportedNot reported
Cpelibssl3t64cpeNot reported3.0.13-0ubuntu3.11Not reportedNot reportedNot reported
CpeopensslcpeNot reported3.4.6Not reportedNot reportedNot reported
CpeopensslcpeNot reported3.5.7Not reportedNot reportedNot reported
CpeopensslcpeNot reported3.6.3Not reportedNot reportedNot reported
Alpineopensslapk3.213.3.7-r1Not reportedALPINE-CVE-2026-42768Not reported
Alpineopensslapk3.223.5.7-r0Not reportedALPINE-CVE-2026-42768Not reported
Alpineopensslapk3.233.5.7-r0Not reportedALPINE-CVE-2026-42768Not reported
Alpineopensslapk3.243.5.7-r0Not reportedALPINE-CVE-2026-42768Not reported

[Debian bug #1139674]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libssl3]Not affected

    Source package: [openssl]

    Details (6)
    • 3.0.20-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · amd64 · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · arm64 · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

  • [libssl-dev]Not affected

    Source package: [openssl]

    Details (6)
    • 3.0.20-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · amd64 · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · arm64 · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

  • [libssl-doc]Not affected

    Source package: [openssl]

    Details (6)
    • 3.0.20-1~deb12u2 · all · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · all · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · all · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · all · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · all · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · all · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

  • [openssl]Not affected
    Details (6)
    • 3.0.20-1~deb12u2 · amd64 · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · amd64 · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.20-1~deb12u2 · arm64 · bookworm-security

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · amd64 · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

    • 3.0.17-1~deb12u2 · arm64 · bookworm-updates

      Not affected

      nvd · openssl · debian · bookworm

[Debian 13 (Trixie)]

  • [libssl3t64]Fixed

    Source package: [openssl]

    Details (6)
    • 3.5.6-1~deb13u2 · amd64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · arm64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

  • [libssl-dev]Fixed

    Source package: [openssl]

    Details (6)
    • 3.5.6-1~deb13u2 · amd64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · arm64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

  • [libssl-doc]Fixed

    Source package: [openssl]

    Details (6)
    • 3.5.6-1~deb13u2 · all · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · all · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · all · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u3 · all · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

  • [openssl]Fixed
    Details (6)
    • 3.5.6-1~deb13u2 · amd64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · arm64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

  • Source package: [openssl]

    Details (6)
    • 3.5.6-1~deb13u2 · amd64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · arm64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

  • Source package: [openssl]

    Details (6)
    • 3.5.6-1~deb13u2 · amd64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · arm64 · trixie

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.6-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

    • 3.5.7-1~deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 3.5.6-1~deb13u2

      nvd · openssl · debian · 13

Observed:

References