cve.bz

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

6.3 medium

Medium (6.3) in web-token.

On this page
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.

Severity

CVSS 4.0

6.3 medium
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 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CWE
CWE-326 Inadequate Encryption Strength
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Assigned by
VulnCheck (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-137562 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-137562?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-137562?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-137562 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
web-token jwt-librarybefore 3.4.13
web-token jwt-libraryfrom 4.0.0 before 4.0.9
web-token jwt-libraryfrom 4.1.0 before 4.1.11
web-token jwt-libraryfrom 4.2.0 before 4.2.6
web-token jwt-frameworkbefore 3.4.13
web-token jwt-frameworkfrom 4.0.0 before 4.0.9
web-token jwt-frameworkfrom 4.1.0 before 4.1.11
web-token jwt-frameworkfrom 4.2.0 before 4.2.6
web-token jwt-experimentalbefore 3.4.13
web-token jwt-experimentalfrom 4.0.0 before 4.0.9
web-token jwt-experimentalfrom 4.1.0 before 4.1.11
web-token jwt-experimentalfrom 4.2.0 before 4.2.6
web-token jwt-encryptionbefore 1.2.0
web-token jwt-encryption-algorithm-aeskwthrough 3.2.10
web-token jwt-encryption-algorithm-aesgcmkwthrough 3.2.10
web-token jwt-encryption-algorithm-experimentalthrough 3.2.10

Attack patterns (CAPEC)

  • CAPEC-20 Encryption Brute Forcing Likelihood: Low · Severity: Low
  • CAPEC-112 Brute Force Severity: High
  • CAPEC-192 Protocol Analysis Likelihood: Low · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON