CVE-2026-134458
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 th…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.
Affected products · Web-token
| Product | Affected versions |
|---|---|
| Jwt-encryption-algorithm-ecdh-es | from 1.2.0 through 3.2.10 |
| Jwt-framework | before 3.4.12 from 4.0.0 before 4.0.8 from 4.1.0 before 4.1.10 from 4.2.0 before 4.2.4 |
| Jwt-library | from 3.3.0 before 3.4.12 from 4.0.0 before 4.0.8 from 4.1.0 before 4.1.10 from 4.2.0 before 4.2.4 |