JLSEC-2026-1787: Issue summary: Setting an AES-GCM-SIV IV shorter than the expected nonce length via...

Published Dec 1, 2026
·
Updated

Issue summary: Setting an AES-GCM-SIV IV shorter than the expected nonce length via EVPCipherInitex() may trigger a heap out-of-bounds read. Supplying a longer IV is silently truncated instead of rejected.

Impact summary: An application passing a caller-supplied IV of the wrong length may crash or read beyond its buffer. Because trailing IV bytes are ignored, an attacker who knows one message and tag may forge messages under a different IV.

CWE: CWE-125: Out-of-bounds Read

Description: AES-GCM-SIV copies the caller-supplied IV or nonce into its internal state using a copy whose length is taken from the expected nonce size rather than from the length the caller actually provided. When the caller passes a shorter IV, the copy reads past the end of the caller's buffer; AddressSanitizer confirms a heap out-of-bounds read reached through EVPCipherInitex() into osslaesgcmsivinit(). When the caller passes a longer IV, the implementation silently discards the trailing bytes instead of rejecting the length.

The truncation breaks the binding between the IV and the computed authentication tag. An attacker who has observed a message and its tag under one IV can produce a message and tag that verify under a different IV whose first bytes match, since the surplus bytes never influence the computation. The message itself is unchanged, so this is a failure of IV commitment rather than a classic existential forgery.

Only applications that call EVPCipherInitex() (or the equivalent provider cipher initialization) with an IV length other than the standard 12 bytes for AES-GCM-SIV are affected. The severity is limited because the out-of-bounds read is small and attacker-controlled only in length, and the forgery requires an unusual IV length choice by the application.

FIPS impact: no The FIPS modules are not affected by this issue, as AES-GCM-SIV is not an approved algorithm.

Affected Software

3 affected componentsFixes available
julia/appbundler>=1.0.0<1.0.1
1.0.1
julia/openssl_jll>=3.5.0+0<3.5.10+0
3.5.10+0
julia/openresty_jll>=1.29.203+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/AppBundler to a version that resolves this vulnerability.

    Fixed in 1.0.1
  2. Upgrade

    Upgrade julia/OpenSSL_jll to a version that resolves this vulnerability.

    Fixed in 3.5.10+0

Event History

Dec 1, 2026
Advisory Published
via OSV·11:02 PM
Data Sourced
via OSV·11:02 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are exposed to the out-of-bounds read?

Applications using AES-GCM-SIV through EVP_CipherInit_ex() are exposed when they pass a caller-supplied IV or nonce shorter than the expected nonce length. The affected software listed is julia/appbundler, julia/openssl_jll, and julia/openresty_jll.

2

What does an attacker need to forge a message?

The attacker needs to have observed a message and its authentication tag under one IV. If the application accepts a longer IV, the ignored trailing bytes can allow the attacker to forge messages under a different IV that shares the retained prefix.

3

What can be done before a fix is deployed?

Validate IV or nonce lengths in the application before calling EVP_CipherInit_ex(). Reject any AES-GCM-SIV IV that is not exactly the expected nonce length, including both shorter and longer values.

4

How can I identify risky code paths?

Review calls to EVP_CipherInit_ex() that initialize AES-GCM-SIV and trace the source and allocated length of the supplied IV. Paths that accept externally supplied, variable-length, or unchecked IV values are at risk of short-buffer reads or longer-IV truncation.

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