CVE-2026-137562 PUBLISHED

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

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.3

Product Status

Vendor web-token
Product jwt-library
Versions Default: unaffected
  • affected from 0 to 3.4.13 (excl.)
  • Version 3.4.13 is unaffected
  • affected from 4.0.0 to 4.0.9 (excl.)
  • Version 4.0.9 is unaffected
  • affected from 4.1.0 to 4.1.11 (excl.)
  • Version 4.1.11 is unaffected
  • affected from 4.2.0 to 4.2.6 (excl.)
  • Version 4.2.6 is unaffected
Vendor web-token
Product jwt-framework
Versions Default: unaffected
  • affected from 0 to 3.4.13 (excl.)
  • Version 3.4.13 is unaffected
  • affected from 4.0.0 to 4.0.9 (excl.)
  • Version 4.0.9 is unaffected
  • affected from 4.1.0 to 4.1.11 (excl.)
  • Version 4.1.11 is unaffected
  • affected from 4.2.0 to 4.2.6 (excl.)
  • Version 4.2.6 is unaffected
Vendor web-token
Product jwt-experimental
Versions Default: unaffected
  • affected from 0 to 3.4.13 (excl.)
  • Version 3.4.13 is unaffected
  • affected from 4.0.0 to 4.0.9 (excl.)
  • Version 4.0.9 is unaffected
  • affected from 4.1.0 to 4.1.11 (excl.)
  • Version 4.1.11 is unaffected
  • affected from 4.2.0 to 4.2.6 (excl.)
  • Version 4.2.6 is unaffected
Vendor web-token
Product jwt-encryption
Versions Default: unaffected
  • affected from 0 to 1.2.0 (excl.)
  • Version 1.2.0 is unaffected
Vendor web-token
Product jwt-encryption-algorithm-aeskw
Versions Default: unaffected
  • affected from 0 to 3.2.10 (incl.)
Vendor web-token
Product jwt-encryption-algorithm-aesgcmkw
Versions Default: unaffected
  • affected from 0 to 3.2.10 (incl.)
Vendor web-token
Product jwt-encryption-algorithm-experimental
Versions Default: unaffected
  • affected from 0 to 3.2.10 (incl.)

References

Problem Types

  • Inadequate Encryption Strength CWE