Skip to content
Heist/ feed
High

AES-CCM decryption accepts zero or out-of-range tag length, bypassing authentication

Type: advisorySource: Official CVE List1 source record

Improper validation of integrity check value in the AES-CCM implementation (CcmParameters and CcmBlockCipher) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows an on-path attacker to modify CCM-encrypted content without detection via an AlgorithmIdentifier whose CCMParameters declare an authentication tag (aes-ICVlen) of zero or another length outside the RFC 5084 set, because CcmParameters accepted any value and CcmBlockCipher validated the tag length only when encrypting, so decryption compared a zero-length or very short tag. Affected paths include ParameterUtilities.GetCipherParameters, used by CmsEnvelopedData and CmsEnvelopedDataParser for EnvelopedData encrypted with AES-CCM, and any caller passing an unchecked tag length to CcmBlockCipher for decryption.

Announced Group revision 1
Original source ↗

CVE-2026-15999

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-15999

bc-csharp

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/bcgit/bc-csharp",
    "vendor": "Legion of the Bouncy Castle Inc.",
    "product": "bc-csharp",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.7.0",
        "versionType": "semver"
      }
    ],
    "packageName": "BouncyCastle.Cryptography",
    "programFiles": [
      "crypto/src/asn1/cms/CcmParameters.cs",
      "crypto/src/crypto/modes/CcmBlockCipher.cs"
    ],
    "collectionURL": "https://www.nuget.org/packages/BouncyCastle.Cryptography",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-15999

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#8105 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement