{"id":"CVE-2026-33996","published":"2026-03-27T22:21:21Z","modified":"2026-03-31T18:53:51Z","title":"LibJWT has NULL/bounds validation in JWK octet and RSA PSS parsing","vendor":"benmcollins","product":"libjwt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:A/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00166,"percentile":0.05815,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/benmcollins/libjwt/security/advisories/GHSA-ph96-hqpc-9f66","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/benmcollins/libjwt/commit/cfd890286fa49ae61b534c937c9f0428b5c6034c","tags":["x_refsource_MISC"]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.16},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"benmcollins","affectedVersions":[{"vendor":"benmcollins","product":"libjwt","versions":[">= 3.0.0, < 3.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-31T18:50:38.575748Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-16899","exploited":false,"provenance":"source"}}