Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libjwt | Libjwt | >= 3.0.0, < 3.3.0 |
Related Weaknesses (CWE)
References
- https://github.com/benmcollins/libjwt/commit/cfd890286fa49ae61b534c937c9f0428b5cPatch
- https://github.com/benmcollins/libjwt/security/advisories/GHSA-ph96-hqpc-9f66MitigationVendor Advisory
FAQ
What is CVE-2026-33996?
CVE-2026-33996 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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....
How severe is CVE-2026-33996?
CVE-2026-33996 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-33996?
Check the references section above for vendor advisories and patch information. Affected products include: Libjwt Libjwt.