web-token jwt-framework before 3.4.13 Missing Key Length Check in AES Key Wrapping
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| web-tokenjwt-library |
< 3.4.13→ 3.4.13 ≥ 4.0.0, < 4.0.9→ 4.0.9 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.4.13 4.0.9 4.1.11 4.2.6 |
| web-tokenjwt-framework |
< 3.4.13→ 3.4.13 ≥ 4.0.0, < 4.0.9→ 4.0.9 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.4.13 4.0.9 4.1.11 4.2.6 |
| web-tokenjwt-experimental |
< 3.4.13→ 3.4.13 ≥ 4.0.0, < 4.0.9→ 4.0.9 ≥ 4.1.0, < 4.1.11→ 4.1.11 ≥ 4.2.0, < 4.2.6→ 4.2.6 |
3.4.13 4.0.9 4.1.11 4.2.6 |
| web-tokenjwt-encryption |
< 1.2.0→ 1.2.0 |
1.2.0 |
| web-tokenjwt-encryption-algorithm-aeskw |
≤ 3.2.10→ Not listed |
Not listed |
| web-tokenjwt-encryption-algorithm-aesgcmkw |
≤ 3.2.10→ Not listed |
Not listed |
| web-tokenjwt-encryption-algorithm-experimental |
≤ 3.2.10→ Not listed |
Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-137562 php-web-token-jwt-framework Fix available
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com