CVE-2026-120666: AES-SIV Silently Ignores Additional Authenticated Data Supplied After Plaintext
AES-SIV Silently Ignores Additional Authenticated Data Supplied After Plaintext
Other sources
Issue summary: An application that passes additional authenticated data to EVPEncryptUpdate() or EVPDecryptUpdate() after the plaintext when using AES-SIV may have that data excluded from authentication, while the call still reports success.
Impact summary: Data an application intended to authenticate within a message is silently left unauthenticated. An attacker can forge the AAD in messages sent or received by such an application.
CWE: CWE-345: Insufficient Verification of Data Authenticity
Description: AES-SIV in the default provider is an AEAD mode, and EVPEncryptUpdate() and EVPDecryptUpdate() are expected to fold every piece of additional authenticated data (AAD) into the S2V state before the tag is computed. When an application supplies AAD after the plaintext, aessivcipher() still hands it to osslsiv128aad(), but the tag has already been computed and that state is never read again. The call returns success and leaves nothing on the error queue.
Only applications that use AES-SIV through the default provider and pass AAD in that order are exposed. The usual sequence, setting the tag and supplying AAD before the ciphertext, is unaffected, and OpenSSL's own TLS, QUIC and CMS implementations do not use AES-SIV this way. Other AEAD ciphers either reject late AAD or authenticate it.
A signer that supplies AAD after the plaintext produces a tag covering only the AAD sent before it, so an attacker can drop the later AAD and the message still verifies. The severity is Low because the flaw depends on an unusual call order chosen by the application.
FIPS impact: no The AES-SIV algorithms are not FIPS validated.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
For applications using AES-SIV through OpenSSL's default provider, supply all additional authenticated data (AAD) before the plaintext so it is included in authentication.
Event History
Frequently Asked Questions
Which applications are exposed?
Only applications using AES-SIV through the OpenSSL default provider are exposed, and only when they supply additional authenticated data after plaintext to EVP_EncryptUpdate() or EVP_DecryptUpdate(). OpenSSL's own TLS and QUIC implementations are unaffected.
What does an attacker need to exploit this?
An attacker needs the ability to alter AAD in messages processed by an affected application. AAD supplied after plaintext may be excluded from authentication even though the OpenSSL call reports success.
Are normal AES-SIV call sequences affected?
No. The usual sequence of setting the tag and supplying AAD before ciphertext is unaffected.
How can an application detect the unsafe condition at runtime?
The affected call returns success and does not place an error on the OpenSSL error queue. Applications must review their EVP_EncryptUpdate() and EVP_DecryptUpdate() call ordering rather than relying on return values or error handling.
What can be done before an update is applied?
Ensure all AAD is supplied before plaintext or ciphertext processing when using AES-SIV through the default provider. Do not pass AAD to EVP_EncryptUpdate() or EVP_DecryptUpdate() after plaintext has been processed.