Skip to content
DayZeroHub
High Not yet writtenCVSS 8.2CVE-2026-134458

CVE-2026-134458: web-token jwt-framework before 3.4.12 ECDH-ES Weak Key Derivation via ConcatKDF

web-token jwt-library

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134458: high-severity vulnerability (CVSS 8.2) in web-token jwt-library.

What happened

Original description from the source: web-token jwt-framework and jwt-library before 3.4.12, 4.0.x before 4.0.8, 4.1.x before 4.1.10, and 4.2.x before 4.2.4, and jwt-encryption-algorithm-ecdh-es through 3.2.10, have a ConcatKDF::generate() that performs a single SHA-256 round, deriving at most 32 bytes for ECDH-ES and ECDH-SS direct key agreement. Anyone holding a JWE using A256CBC-HS512 can decrypt it under an all-zero AES key, while A192CBC-HS384 content keys have only 64-bit strength.

Why it matters

High severity, CVSS 8.2.

Affected products and versions

web-token jwt-library >= 3.3.0, < 3.4.12; web-token jwt-library 3.4.12 (fixed in 3.4.12); web-token jwt-library >= 4.0.0, < 4.0.8; web-token jwt-library 4.0.8 (fixed in 4.0.8); web-token jwt-library >= 4.1.0, < 4.1.10; web-token jwt-library 4.1.10 (fixed in 4.1.10); web-token jwt-library >= 4.2.0, < 4.2.4; web-token jwt-library 4.2.4 (fixed in 4.2.4); web-token jwt-framework < 3.4.12; web-token jwt-framework 3.4.12 (fixed in 3.4.12); web-token jwt-framework >= 4.0.0, < 4.0.8; web-token jwt-framework 4.0.8 (fixed in 4.0.8)

ProductVersionsFixed in
web-token jwt-library>= 3.3.0, < 3.4.12—
web-token jwt-library3.4.123.4.12
web-token jwt-library>= 4.0.0, < 4.0.8—
web-token jwt-library4.0.84.0.8
web-token jwt-library>= 4.1.0, < 4.1.10—
web-token jwt-library4.1.104.1.10
web-token jwt-library>= 4.2.0, < 4.2.4—
web-token jwt-library4.2.44.2.4
web-token jwt-framework< 3.4.12—
web-token jwt-framework3.4.123.4.12
web-token jwt-framework>= 4.0.0, < 4.0.8—
web-token jwt-framework4.0.84.0.8
web-token jwt-framework>= 4.1.0, < 4.1.10—
web-token jwt-framework4.1.104.1.10
web-token jwt-framework>= 4.2.0, < 4.2.4—
web-token jwt-framework4.2.44.2.4
web-token jwt-encryption-algorithm-ecdh-es>= 1.2.0, <= 3.2.10—

Action recommended by the source

Upgrade to a fixed version: 3.4.12, 4.0.8, 4.1.10, 4.2.4.

Fixed in: 3.4.12, 4.0.8, 4.1.10, 4.2.4

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-325

Relevant change history

  1. Published

    Preliminary advisory published.