CVE-2026-12816
Received Received - Intake

Bouncy Castle Java MAC Forgery via KDF Split

Vulnerability report for CVE-2026-12816, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-03

Last updated on: 2026-08-03

Assigner: bcorg

Description

In Bouncy Castle for Java before 1.85, IESEngine stream-mode MAC forgery via length-dependent KDF split. This issue also affects Bouncy Castle for Java LTS before 2.73.12.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-03
Last Modified
2026-08-03
Generated
2026-08-03
AI Q&A
2026-08-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
bouncy_castle bouncy_castle_for_java to 1.85 (exc)
bouncy_castle bouncy_castle_for_java_lts to 2.73.12 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-354 The product does not validate or incorrectly validates the integrity check values or "checksums" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Bouncy Castle for Java before 1.85 allows for MAC forgery in stream-mode IESEngine due to a length-dependent Key Derivation Function (KDF) split. It also affects Bouncy Castle for Java LTS before 2.73.12.

Detection Guidance

Detection requires checking the version of Bouncy Castle for Java in use. Commands like 'find / -name "bouncycastle*.jar" 2>/dev/null' or 'mvn dependency:tree | grep bouncycastle' can help identify the library version. If the version is below 1.85 (or 2.73.12 for LTS), the system is vulnerable.

Impact Analysis

An attacker could exploit this to forge message authentication codes (MACs), potentially allowing unauthorized data tampering or spoofing in applications using vulnerable versions of Bouncy Castle for Java.

Compliance Impact

This vulnerability could lead to data integrity breaches, which may violate compliance requirements for GDPR (data integrity principles) and HIPAA (integrity and security of protected health information).

Mitigation Strategies

Upgrade Bouncy Castle for Java to version 1.85 or later. For LTS versions, upgrade to 2.73.12 or later. Remove any outdated or vulnerable versions of the library from your system or project dependencies.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-12816. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart