Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.bouncycastle/bcprov-lts8on
  4. ›
  5. CVE-2026-12803

CVE-2026-12803: KCCMBlockCipher MAC does not bind nonce when AAD is absent (cross-nonce AEAD forgery)

August 3, 2026 (updated September 16, 2026)

Affects Bouncy Castle for Java LTS before 2.73.12. DSTU 7624 CCM mode folds the nonce into the MAC block only inside processAAD(), which is skipped when no associated data is present. Without AAD the MAC is a zero-IV CBC-MAC over the plaintext alone, so tags do not depend on the nonce. A chosen-plaintext attacker can derive the keystreams for two nonces in three oracle queries and forge a valid ciphertext and tag for any unqueried plaintext and nonce, defeating authenticity.

References

  • github.com/bcgit/bc-java/commit/697794413ebf7bc5e3fce609a707826ba52981af
  • github.com/bcgit/bc-java/commit/7d79aa76e984da85f2a541cae8ba2ae56e1713bc
  • github.com/bcgit/bc-java/wiki/CVE-2026-12803
  • nvd.nist.gov/vuln/detail/CVE-2026-12803

Code Behaviors & Features

Detect and mitigate CVE-2026-12803 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.73.0 before 2.73.12

Fixed versions

  • 2.73.12

Solution

Upgrade to version 2.73.12 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-354: Improper Validation of Integrity Check Value

Source file

maven/org.bouncycastle/bcprov-lts8on/CVE-2026-12803.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:14 +0000.