CVE-2026-33996LibJWT has NULL/bounds validation in JWK octet and RSA PSS parsing
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libjwt | Fix pending | UBUNTU-CVE-2026-33996 | |
| Ubuntu 26.10 | libjwt3 | Fix pending | UBUNTU-CVE-2026-33996 | |
| Ubuntu 26.04 | libjwt | Under investigation | UBUNTU-CVE-2026-33996 | |
| Ubuntu 26.04 | libjwt3 | Under investigation | UBUNTU-CVE-2026-33996 | |
| Ubuntu 25.10 | libjwt | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-33996 | |
| Ubuntu 24.04 | libjwt | Under investigation | UBUNTU-CVE-2026-33996 | |
| Ubuntu 22.04 | libjwt | Fix pending | UBUNTU-CVE-2026-33996 | |
| Ubuntu 20.04 | libjwt | Fix pending | UBUNTU-CVE-2026-33996 | |
| Ubuntu 18.04 | libjwt | Fix pending | UBUNTU-CVE-2026-33996 | |
| Debian 14 | libjwt3 | Fixed | 3.3.2-1 | DEBIAN-CVE-2026-33996 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- benmcollins libjwt: affected: >= 3.0.0, < 3.3.0
References
- https://github.com/benmcollins/libjwt/security/advisories/GHSA-ph96-hqpc-9f66
- https://github.com/benmcollins/libjwt/commit/cfd890286fa49ae61b534c937c9f0428b5c6034c
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.