{"id":"USN-9212-1","summary":"pyjwt vulnerabilities","details":"It was discovered that PyJWT incorrectly handled errors when parsing deeply\nnested token headers. An attacker could possibly use this issue to cause\napplications using PyJWT to fail unexpectedly, resulting in a denial of\nservice. (CVE-2026-102265)\n\nIt was discovered that PyJWT modified the options mapping supplied by an\napplication when signature verification was disabled. If an application\nreused that mapping for a later call with signature verification enabled,\nan attacker could possibly use this issue to bypass token claim checks,\nsuch as expiration. This issue only affected Ubuntu 22.04 LTS.\n(CVE-2026-103001)","modified":"2026-11-27T04:43:23.846429467Z","published":"2026-11-26T14:45:08Z","related":["UBUNTU-CVE-2026-102265","UBUNTU-CVE-2026-103001"],"upstream":["CVE-2026-102265","CVE-2026-103001","UBUNTU-CVE-2026-102265","UBUNTU-CVE-2026-103001"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9212-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-102265"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-103001"}],"affected":[{"package":{"name":"pyjwt","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pyjwt?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-1ubuntu0.8"}]}],"versions":["1.7.1-2ubuntu2","2.1.0-1","2.3.0-1","2.3.0-1ubuntu0.1","2.3.0-1ubuntu0.2","2.3.0-1ubuntu0.3","2.3.0-1ubuntu0.4","2.3.0-1ubuntu0.5","2.3.0-1ubuntu0.6","2.3.0-1ubuntu0.7"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.0-1ubuntu0.8","binary_name":"python3-jwt"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9212-1.json","cves_map":{"cves":[{"id":"CVE-2026-102265","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium","source":"SELF"}]},{"id":"CVE-2026-103001","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","source":"CNA","type":"CVSS_V3"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}},{"package":{"name":"pyjwt","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pyjwt?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.0-1ubuntu0.6"}]}],"versions":["2.7.0-1","2.7.0-1ubuntu0.1","2.7.0-1ubuntu0.2","2.7.0-1ubuntu0.3","2.7.0-1ubuntu0.4","2.7.0-1ubuntu0.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python3-jwt","binary_version":"2.7.0-1ubuntu0.6"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"id":"CVE-2026-102265","severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9212-1.json"}},{"package":{"name":"pyjwt","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pyjwt?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.1-4ubuntu1.5"}]}],"versions":["2.10.1-2","2.10.1-3","2.10.1-3build1","2.10.1-4","2.10.1-4ubuntu1","2.10.1-4ubuntu1.1","2.10.1-4ubuntu1.2","2.10.1-4ubuntu1.3","2.10.1-4ubuntu1.4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.10.1-4ubuntu1.5","binary_name":"python3-jwt"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9212-1.json","cves_map":{"cves":[{"severity":[{"source":"CNA","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2026-102265"}],"ecosystem":"Ubuntu:26.04:LTS"}}}],"schema_version":"1.9.2"}