Insecure Randomness Affecting io.netty.incubator:netty-incubator-codec-ohttp-hpke-bouncycastle package, versions [,0.0.21.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IONETTYINCUBATOR-17263313
  • published9 Jun 2026
  • disclosed26 May 2026
  • creditUnknown

Introduced: 26 May 2026

CVE-2026-41207  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade io.netty.incubator:netty-incubator-codec-ohttp-hpke-bouncycastle to version 0.0.21.Final or higher.

Overview

Affected versions of this package are vulnerable to Insecure Randomness due to the HKDF_expand and EVP_HPKE_CTX_export functions returning a zero-filled byte array on failure, which is then used as key material for AEAD encryption. An attacker can predict and exploit the deterministic, all-zero AEAD key by triggering failures in these cryptographic operations.

CVSS Base Scores

version 4.0
version 3.1