Skip to content
OpenAdvisories

Description

Issue summary: OpenSSL CMS decryption sizes the key-unwrap output buffer based
on querying the unwrapped key size, but the AES-WRAP-PAD unwrap primitive
can write and cleanse more bytes than that query reports, causing an 8-byte
out-of-bounds heap write.

Impact summary: An attacker who supplies a crafted CMS message can trigger a
deterministic 8-byte out-of-bounds heap write when the victim decrypts it
with CMS_decrypt(), corrupting the heap and typically resulting in a Denial
of Service.

CWE: CWE-787: Out-of-bounds Write

Description: The key-wrap OID is potentially attacker-controlled on the wire.
CMS unwrapping allows both id-aesNNN-wrap-pad and id-aesNNN-wrap ciphers.
An attacker can take a legitimate message and change a single OID byte to
select the padded variant while leaving the message otherwise valid. Since
the unwrap key is derived from the recipient's private operation (ECDH key
agreement or ML-KEM decapsulation), the RFC 5649 integrity check cannot
pass, and the decryption fails with integrity failure.

The write is a fixed-size (8-byte), fixed-value (zero) heap overflow
immediately past the allocation, requires no special configuration, and is
reachable from the public CMS_decrypt() function. The consequence is
a heap corruption leading to a Denial of Service. The fix in the CMS code
sizes the unwrap output buffer for the worst case so a failed unwrap cannot
write past the allocation.

FIPS impact: no

As the CMS code lives outside the FIPS module boundary, no FIPS
modules are affected by this CVE.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 4.0.0 – < 4.0.2, 3.6.0 – < 3.6.4, 3.5.0 – < 3.5.8, 3.4.0 – < 3.4.7, 3.0.0 – < 3.0.22, 1.1.1 – < 1.1.1zi 4.0.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.6.4-1 —
Debian 13 openssl 3.5.7-1~deb13u2 —
Debian 12 openssl 3.0.22-1~deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 edk2 +1 No fix yet —
Ubuntu 26.04 LTS edk2 2025.11-3ubuntu7.3 USN-8865-1
Ubuntu 26.04 LTS edk2-hwe No fix yet —
Ubuntu 26.04 LTS openssl 3.5.5-1ubuntu3.4 USN-8678-1
Ubuntu 24.04 LTS edk2 2024.02-2ubuntu0.10 USN-8865-1
Ubuntu 24.04 LTS openssl 3.0.13-0ubuntu3.15 USN-8678-1
Ubuntu 22.04 LTS edk2 2022.02-3ubuntu0.22.04.7 USN-8865-1
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.29 USN-8678-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS openssl-fips 3.0.13-0ubuntu3.15+Fips1 —
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.29+Fips1 —
Ubuntu Pro FIPS-updates 22.04 LTS openssl-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS openssl +1 No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 0~20191122.bd85bf54-2ubuntu3.6+esm1 USN-8865-1
Ubuntu Pro 20.04 LTS openssl 1.1.1f-1ubuntu2.24+esm5 USN-8678-2
Ubuntu Pro 18.04 LTS edk2 0~20180205.c0d9813c-2ubuntu0.3+esm3 USN-8865-1
Ubuntu Pro 18.04 LTS nodejs No fix yet —
Ubuntu Pro 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.23+esm10 USN-8678-2
Ubuntu Pro 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.13+esm6 USN-8678-2
Ubuntu Pro 16.04 LTS edk2 0~20160408.ffea0a2c-2ubuntu0.2+esm4 USN-8865-1
Ubuntu Pro 16.04 LTS nodejs No fix yet —
Ubuntu Pro 16.04 LTS openssl 1.0.2g-1ubuntu4.20+esm18 USN-8678-2
Ubuntu Pro 14.04 LTS openssl 1.0.1f-1ubuntu2.27+esm16 USN-8678-2
ReleasePackageFixed inAdvisory
RHEL 10 openssl +3 1:3.5.8-1.el10_2 RHSA-2026:67154
RHEL 9 compat-openssl11 1:1.1.1k-5.el9_8.6 RHSA-2026:80514
RHEL 9 openssl +3 1:3.5.8-1.el9_8 RHSA-2026:67165
RHEL 8 openssl +3 1:1.1.1k-18.el8_6 RHSA-2026:85968
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Satellite Capsule 6 openvox-agent 8.31.1-1.el8sat RHSA-2026:92860, RHSA-2026:92859, RHSA-2026:92858
Red Hat Satellite Capsule 6 openvox-server 8.17.0-1.el8sat RHSA-2026:92860, RHSA-2026:92859, RHSA-2026:92858
Red Hat Satellite 6 openvox-agent 8.31.1-1.el8sat RHSA-2026:92860, RHSA-2026:92859, RHSA-2026:92858
Red Hat Satellite 6 openvox-server 8.17.0-1.el8sat RHSA-2026:92860, RHSA-2026:92859, RHSA-2026:92858
Red Hat Satellite 6 yggdrasil-worker-forwarder 0.1.1-1.el8sat RHSA-2026:92860, RHSA-2026:92859, RHSA-2026:92858
Red Hat Rhel Satellite Openvox 6 openvox-agent 8.30.0-1.el7sat RHSA-2026:85249
RHEL 9.6 EUS compat-openssl11 1:1.1.1k-5.el9_6.4 RHSA-2026:89738
RHEL 9.4 E4S compat-openssl11 1:1.1.1k-5.el9_4.4 RHSA-2026:89736
RHEL 9.4 E4S openssl +1 1:3.0.7-29.el9_4.4 RHSA-2026:96216
RHEL 9.2 E4S compat-openssl11 1:1.1.1k-4.el9_2.3 RHSA-2026:89737
RHEL 8.8 TUS openssl +3 1:1.1.1k-18.el8_6 RHSA-2026:85968
RHEL 8.8 E4S openssl +3 1:1.1.1k-18.el8_6 RHSA-2026:85968
RHEL 8.6 EUS Long Life openssl +3 1:1.1.1k-18.el8_6 RHSA-2026:85968
RHEL 8.4 EUS Long Life openssl +3 1:1.1.1g-18.el8_4.4 RHSA-2026:85970
RHEL 8.4 AUS openssl +3 1:1.1.1g-18.el8_4.4 RHSA-2026:85970
Red Hat Hardened Images 1 openssl +10 1:3.5.8-0.1.hum1 RHSA-2026:59641, RHSA-2026:59635

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 openssl +3 1:3.5.8-1.el10_2.alma.1 ALSA-2026:67154
AlmaLinux 9 compat-openssl11 1:1.1.1k-5.el9_8.6 ALSA-2026:80514
AlmaLinux 9 openssl +3 1:3.5.8-1.el9_8 ALSA-2026:67165
AlmaLinux 8 openssl +3 1:1.1.1k-18.el8_6 ALSA-2026:85968

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 openssl 1:3.5.8-1.el10_2 RLSA-2026:67154
Rocky Linux 9 compat-openssl11 1:1.1.1k-5.el9_8.6 RLSA-2026:80514
Rocky Linux 9 openssl 1:3.5.8-1.el9_8 RLSA-2026:67165
ReleasePackageFixed inAdvisory
SLES 15 SP7 openssl-1_1 1.1.1w-150700.11.30.1 SUSE-SU-2026:4041-1
SLES 15 SP7 openssl-3 3.5.0-150700.5.50.1 SUSE-SU-2026:4039-1
SLES 15 SP6 openssl-1_1 1.1.1w-150600.5.38.1 SUSE-SU-2026:3878-1
SLES 15 SP6 openssl-3 3.1.4-150600.5.64.1 SUSE-SU-2026:3866-1
SLES 15 SP5 openssl-1_1 1.1.1l-150500.17.63.1 SUSE-SU-2026:3877-1
SLES 15 SP5 openssl-3 3.0.8-150500.5.75.1 SUSE-SU-2026:3876-1
SLES 15 SP4 openssl-1_1 1.1.1l-150400.7.104.1 SUSE-SU-2026:4033-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.98.1 SUSE-SU-2026:4032-1
SLES 12 SP5 openssl-1_1 1.1.1d-2.139.1 SUSE-SU-2026:4043-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 openssl-3 3.5.0-160000.10.1 SUSE-SU-2026:23609-1
SLES for SAP 16.0 openssl-3-livepatches +1 0.6-160000.1.1 SUSE-SU-2026:23788-1, SUSE-SU-2026:23585-1
SLES for SAP 15 SP6 openssl-1_1 1.1.1w-150600.5.38.1 SUSE-SU-2026:3878-1
SLES for SAP 15 SP6 openssl-3 3.1.4-150600.5.64.1 SUSE-SU-2026:3866-1
SLES for SAP 15 SP5 openssl-1_1 1.1.1l-150500.17.63.1 SUSE-SU-2026:3877-1
SLES for SAP 15 SP5 openssl-3 3.0.8-150500.5.75.1 SUSE-SU-2026:3876-1
SLES for SAP 15 SP4 openssl-1_1 1.1.1l-150400.7.104.1 SUSE-SU-2026:4033-1
SLES for SAP 15 SP4 openssl-3 3.0.8-150400.4.98.1 SUSE-SU-2026:4032-1
SLES 16.0 openssl-3 3.5.0-160000.10.1 SUSE-SU-2026:23609-1
SLES 16.0 openssl-3-livepatches +1 0.6-160000.1.1 SUSE-SU-2026:23788-1, SUSE-SU-2026:23585-1
SLE Micro 6.2 openssl-3 3.5.0-160000.10.1 SUSE-SU-2026:23463-1
SLE Micro 6.2 openssl-3-livepatches 0.6-160000.1.1 SUSE-SU-2026:23794-1
SLE Micro 6.1 openssl-3 3.1.4-slfo.1.1_13.1 SUSE-SU-2026:23512-1
SLE Micro 6.1 openssl-3-livepatches 0.6-slfo.1.1_1.1 SUSE-SU-2026:23538-1
SLE Micro 6.0 openssl-3 3.1.4-17.1 SUSE-SU-2026:23473-1
SLE Micro 5.5 openssl-1_1 1.1.1l-150500.17.63.1 SUSE-SU-2026:3877-1
SLE Micro 5.4 openssl-1_1 1.1.1l-150400.7.104.1 SUSE-SU-2026:4033-1
SLE Micro 5.4 openssl-3 3.0.8-150400.4.98.1 SUSE-SU-2026:4032-1
SLE Micro 5.3 openssl-1_1 1.1.1l-150400.7.104.1 SUSE-SU-2026:4033-1
SLE Micro 5.3 openssl-3 3.0.8-150400.4.98.1 SUSE-SU-2026:4032-1
SLE Live Patching 15 SP7 openssl-1_1-livepatches 0.8-150700.13.12.1 SUSE-SU-2026:4037-1
SLE Live Patching 15 SP7 openssl-3-livepatches 0.6-150700.16.12.1 SUSE-SU-2026:4040-1
SLE Live Patching 15 SP6 openssl-1_1-livepatches 0.8-150600.11.9.1 SUSE-SU-2026:4036-1
SLE Live Patching 15 SP6 openssl-3-livepatches 0.6-150600.13.19.1 SUSE-SU-2026:4038-1
SLE Live Patching 15 SP5 openssl-1_1-livepatches 0.8-150500.6.17.1 SUSE-SU-2026:4042-1
SLE Live Patching 15 SP4 openssl-1_1-livepatches 0.8-150400.3.26.1 SUSE-SU-2026:4034-1
SLE HPC 15 SP5 openssl-1_1 1.1.1l-150500.17.63.1 SUSE-SU-2026:3877-1
SLE HPC 15 SP5 openssl-3 3.0.8-150500.5.75.1 SUSE-SU-2026:3876-1
SLE HPC 15 SP4 openssl-1_1 1.1.1l-150400.7.104.1 SUSE-SU-2026:4033-1
SLE HPC 15 SP4 openssl-3 3.0.8-150400.4.98.1 SUSE-SU-2026:4032-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-3 3.5.3-8.1 openSUSE-SU-2026:11623-1
openSUSE Leap 16.0 openssl-3 3.5.0-160000.10.1 openSUSE-SU-2026:21744-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.5.8-r0 —
Alpine v3.23 openssl 3.5.8-r0 —
Alpine v3.22 openssl 3.5.8-r0 —
Alpine v3.21 openssl 3.3.7-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +5 1:3.5.8-1.amzn2023.0.1 ALAS2023-2026-2136
Amazon Linux 2 edk2-ovmf +3 20240813-313.amzn2 ALAS2-2026-3908
Amazon Linux 2 openssl +4 1:1.0.2k-24.amzn2.0.22 ALAS2-2026-3919
Amazon Linux 2 openssl11 +3 1:1.1.1zi-1.amzn2.0.1 ALAS2-2026-3907

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 edk2 20240524git3e722403cd16-20 —
Azure Linux 3 openssl 3.3.7-6 —
Azure Linux 3 openssl-fips-provider No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 compat-openssl11 1:1.1.1k-5.el9_8.6 ELSA-2026-80514
Oracle Linux 8 openssl +3 1:1.1.1k-18.el8_6 ELSA-2026-85968

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl-4.0 +2 4.0.2-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 50

References