CVE-2026-137562

web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping

Medium published · updated

6.3
CVSS score out of 10 · NVD (vulncheck.com)

Description

web-token jwt-framework before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6 does not check oct key length in the AESKW, AESGCMKW, and experimental AESCTR and chacha20-poly1305 key encryption algorithms, so OpenSSL zero-pads short or empty keys. When an application uses an empty key, anyone can unwrap content encryption keys under the all-zero key to read issued tokens and forge accepted ones.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
jwt-library web-token 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.64.2.6 CVE.org
jwt-framework web-token 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.64.2.6 CVE.org
jwt-experimental web-token 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.64.2.6 CVE.org
jwt-encryption web-token 0 → <1.2.01.2.0 CVE.org
jwt-encryption-algorithm-aeskw web-token ≤3.2.10— CVE.org
jwt-encryption-algorithm-aesgcmkw web-token ≤3.2.10— CVE.org
jwt-encryption-algorithm-experimental web-token ≤3.2.10— CVE.org

References