CVE-2026-63072: Heap Buffer Overflow in CMS Key Unwrapping

Published Aug 25, 2026
·
Updated

Heap Buffer Overflow in CMS Key Unwrapping

Other sources

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.

— Launchpad

Affected Software

10 affected componentsFixes available
OpenSSL OpenSSL
debian/openssl<=1.1.1w-0+deb11u1, <=1.1.1w-0+deb11u8, <=3.0.20-1~deb12u2, <=3.5.6-1~deb13u2, <=3.6.3-1
3.5.7-1~deb13u23.6.4-1
Microsoft azl3 openssl 3.3.7-4<3.3.7-6
3.3.7-6
Microsoft azl3 edk2 20240524git3e722403cd16-18<20240524git3e722403cd16-19
20240524git3e722403cd16-19
Microsoft azl3 edk2 20240524git3e722403cd16-20<20240524git3e722403cd16-19
20240524git3e722403cd16-19
OpenSSL OpenSSL>=3.0.0<3.0.22
OpenSSL OpenSSL>=3.4.0<3.4.7
OpenSSL OpenSSL>=3.5.0<3.5.8
OpenSSL OpenSSL>=3.6.0<3.6.4
OpenSSL OpenSSL>=4.0.0<4.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 3.5.7-1~deb13u2Fixed in 3.6.4-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.3.7-6
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20240524git3e722403cd16-19
  4. Compensating control

    Modify the CMS code to size the AES-WRAP-PAD unwrap output buffer for the worst case so a failed unwrap cannot write past the allocation.

Event History

Aug 25, 2026
CVE Published
via MITRE·12:59 PM
Data Sourced
via MITRE·12:59 PM
DescriptionWeakness
Data Sourced
via NVD·01:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:19 PM
RemedyAffected Software
Data Sourced
via Launchpad·07:11 PM
Description
Aug 26, 2026
Data Sourced
via Debian·07:12 PM
DescriptionAffected Software
Aug 27, 2026
Data Sourced
via Microsoft·08:13 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:13 AM
Affected Software
Updated
via Microsoft·08:13 AM
DescriptionSeverity
Data Sourced
via Ubuntu·07:12 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Is a non-default configuration required for exploitation?

No. The issue requires no special configuration and is reachable when a victim decrypts a crafted CMS message with CMS_decrypt().

2

What must an attacker provide to trigger the issue?

The attacker must supply a crafted CMS message for decryption. They can modify a legitimate message by changing a single key-wrap OID byte to select the AES-WRAP-PAD variant while leaving the rest of the message valid.

3

Does the CMS message decrypt successfully after the overwrite?

No. The unwrap operation ultimately fails its RFC 5649 integrity check because the unwrap key is derived from the recipient's private operation, such as ECDH key agreement or ML-KEM decapsulation. The out-of-bounds write occurs before the integrity failure is returned.

4

What is the expected impact of a successful trigger?

The write is a deterministic 8-byte, zero-value heap overflow immediately after the allocated buffer. It typically results in a denial of service through heap corruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203