CVE-2026-33996 LibJWT has NULL/bounds validation in JWK octet and RSA PSS parsing
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
LibJWT is a C JSON Web Token Library. Starting in version 3.0.0 and prior to version 3.3.0, the JWK parsing for RSA-PSS did not protect against a NULL value when expecting to parse JSON string values. A specially crafted JWK file could exploit this behavior by using integers in places where the code expected a string. This was fixed in v3.3.0. A workaround is available. Users importing keys through a JWK file should not do so from untrusted sources. Use the jwk2key tool to check for validity of a JWK file. Likewise, if possible, do not use JWK files with RSA-PSS keys.
Upgrade path
9 packages: 2 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.2-1; = 3.2.2-1; = 3.2.3-1 | 3.3.2-1 | Fixed |
| libjwt | >= 3.0.0, < 3.3.0 | 3.3.0 | Fixed |
| benmcollins libjwt | = >= 3.0.0, < 3.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| benmcollins libjwt | = >= 3.0.0, < 3.3.0 | No fix listed |
| debian/libjwt3(Debian:14) | < 3.3.2-1 | 3.3.2-1 |
| debian/libjwt3(Debian:14) | = 3.2.2-1 | No fix listed |
| debian/libjwt3(Debian:14) | = 3.2.3-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 |
| libjwt | >= 3.0.0, < 3.3.0 | 3.3.0 |
| ubuntu/libjwt(Ubuntu:22.04) | All versions | No fix listed |
References
- https://github.com/benmcollins/libjwt/security/advisories/GHSA-ph96-hqpc-9f66 mitigation vendor-advisory
- https://github.com/benmcollins/libjwt/commit/cfd890286fa49ae61b534c937c9f0428b5c6034c patch
- Debian Security Tracker CVE-2026-33996 vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2452531 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking