Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Native AES packet cipher returns the raw AES key on an alias

CVSS 4.0 8.2 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2026-71883

Published

In Bouncy Castle for Java LTS before 2.73.13, the one-shot native packet ciphers for AES-CBC, CCM, CFB, CTR, GCM and GCM-SIV released the caller's key, IV and additional authenticated data arrays with JNI's ReleaseByteArrayElements in mode 0, which commits the native copy back into the Java array. Those arrays are read-only to the native code, and on a JVM that returns a copy rather than a pin the copy still holds the input bytes as they were read. The output buffer is taken through a separate critical region and committed first, so where an application passed the same Java array as both an input and the destination - encrypting in place over KeyParameter.getKey(), for example - the later mode-0 release of the key wrote the unchanged key bytes over the ciphertext that had just been produced. The call still returned the correct output length, so an application encrypting in place over its own key array was handed the raw AES key where it expected ciphertext, with nothing in the API to indicate it, and would transmit or store the key in place of the message. The read-only input arrays are now released with JNI_ABORT, freeing the native copy without copying it back, and mode 0 is reserved for arrays the native code wrote. The pure-Java packet ciphers and the streaming native modes are not affected. Bouncy Castle for Java (bcprov) is not affected, as it ships no native implementations.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-71883

Published

bcprov-lts8on

https://www.bouncycastle.org/download/bouncy-castle-java-lts/

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Legion of the Bouncy Castle Inc.",
                    "product": "BC-LTS-JAVA",
                    "platforms": [
                        "x86",
                        "x86-64"
                    ],
                    "collectionURL": "https://www.bouncycastle.org/download/bouncy-castle-java-lts/",
                    "packageName": "bcprov-lts8on",
                    "repo": "https://github.com/bcgit/bc-lts-java",
                    "packageURL": "pkg:maven/org.bouncycastle/bcprov-lts8on",
                    "modules": [
                        "core"
                    ],
                    "programFiles": [
                        "cbc_pc_jni.c",
                        "ccm_pc_jni.c",
                        "cfb_pc_jni.c",
                        "ctr_pc_jni.c",
                        "gcm_pc_jni.c",
                        "gcm_siv_pc_jni.c"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "2.73.4",
                            "lessThan": "2.73.13",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 17 Nov 05:57 UTC · 274 of 275 readable · 250 fully read · 20 waiting for GitHub's hourly limit · documentation 469/469 current