CVE Database›CVE-2026-12816

CVE-2026-12816

org.bouncycastle/bcprov-jdk15on: Bouncy Castle for Java: Message Authentication Code (MAC) forgery due to a length-dependent Key Derivation Function (KDF) split

Loading…

Severity

Important

Red Hat Product Security

7.5

CVSS 3.1

Review impact separately from score.

Published · August 3, 2026

Updated · October 8, 2026

Description

A flaw was found in Bouncy Castle for Java. This vulnerability allows for Message Authentication Code (MAC) forgery in the IESEngine stream-mode. The issue arises from a length-dependent Key Derivation Function (KDF) split, which an attacker could exploit to bypass integrity checks. This could lead to unauthorized manipulation of data.

Statement

This is an Important vulnerability. Bouncy Castle for Java is susceptible to Message Authentication Code (MAC) forgery in IESEngine stream-mode due to a length-dependent Key Derivation Function (KDF) split. An unauthenticated, remote attacker could exploit this flaw to compromise the integrity of data protected by the affected cryptographic operations.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

CVSS / CWE

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

CWE-1240 · Use of a Cryptographic Primitive with a Risky Implementation