Executive brief
OpenSSL, a widely used security library for encrypting internet communications, contains a vulnerability in how it handles certain encrypted messages. An attacker can send a specially crafted message that causes the software to crash or potentially allow the attacker to take control of the system. This issue occurs before the software even verifies the sender's identity, making it a significant risk for any service that processes encrypted emails or files using OpenSSL.
Technical details
A stack-based buffer overflow exists in OpenSSL's Cryptographic Message Syntax (CMS) implementation. The vulnerability is located in the 'evp_cipher_get_asn1_aead_params' function within 'crypto/evp/evp_lib.c', where an Initialization Vector (IV) from ASN.1 parameters is copied into a fixed-size stack buffer without adequate length validation. An attacker can trigger this by providing a crafted CMS AuthEnvelopedData or EnvelopedData message using AEAD ciphers like AES-GCM. Because the overflow occurs during parameter parsing before authentication or tag verification, no valid cryptographic keys are required. This can lead to a denial-of-service (crash) or remote code execution. Patches are available in OpenSSL versions 3.0.19, 3.3.6, 3.4.4, 3.5.5, and 3.6.1.
Affected products
- OpenSSL Foundation OpenSSL 3.0.0 to 3.0.18, 3.1.0 to 3.3.5, 3.4.0 to 3.4.3, 3.5.0 to 3.5.4, 3.6.0 to 3.6.0
Timeline
- 2026-01-26: patched: Fixes committed to OpenSSL repository
- 2026-01-27: advisory: OpenSSL Security Advisory published
References
- https://github.com/openssl/openssl/commit/2c8f0e5fa9b6ee5508a0349e4572ddb74db5a703
- https://github.com/openssl/openssl/commit/5f26d4202f5b89664c5c3f3c62086276026ba9a9
- https://github.com/openssl/openssl/commit/6ced0fe6b10faa560e410e3ee8d6c82f06c65ea3
- https://github.com/openssl/openssl/commit/ce39170276daec87f55c39dad1f629b56344429e
- https://github.com/openssl/openssl/commit/d0071a0799f20cc8101730145349ed4487c268dc
- https://openssl-library.org/news/secadv/20260127.txt
- http://www.openwall.com/lists/oss-security/2026/01/27/10