CVE-2026-44699 LibJWT: Algorithm confusion allows JWT forgery with RSA JWK as empty-key HMAC
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- OpenSSLUbuntuDebian
Description
LibJWT is a C JSON Web Token Library. From 3.0.0 to 3.3.2, libjwt accepts an RSA JWK that does not contain an alg parameter as the verification key for an HS256/HS384/HS512 token. In the OpenSSL backend, this causes HMAC verification to run with a zero-length key, so an attacker can forge a valid JWT without knowing any secret or RSA private key. This is an algorithm-confusion authentication bypass. It affects applications that load RSA keys from JWKS where alg is omitted, which is valid JWK syntax and common in real deployments, and then choose the verification algorithm from the JWT header, for example in a kid lookup callback. This vulnerability is fixed in 3.3.3.
Upgrade path
8 packages: 1 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libjwt(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libjwt(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libjwt(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libjwt(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/libjwt3(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libjwt3(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/libjwt3(Debian 14) | < 3.3.3-1; = 3.2.2-1; = 3.2.3-1; = 3.3.2-1 | 3.3.3-1 | Fixed |
| benmcollins libjwt | = >= 3.0.0, < 3.3.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| benmcollins libjwt | = >= 3.0.0, < 3.3.3 | No fix listed |
| debian/libjwt3(Debian:14) | < 3.3.3-1 | 3.3.3-1 |
| debian/libjwt3(Debian:14) | = 3.2.2-1 | No fix listed |
| debian/libjwt3(Debian:14) | = 3.2.3-1 | No fix listed |
| debian/libjwt3(Debian:14) | = 3.3.2-1 | No fix listed |
| ubuntu/libjwt(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libjwt(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libjwt3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libjwt(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/libjwt3(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/libjwt(Ubuntu:22.04) | All versions | No fix listed |
References
- https://github.com/benmcollins/libjwt/security/advisories/GHSA-q843-6q5f-w55g exploit
- Debian Security Tracker CVE-2026-44699 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking