{"id":"UBUNTU-CVE-2026-44699","details":"LibJWT is a C JSON Web Token Library. From 3.0.0 to 3.3.2, libjwt accepts an RSA JWK that does not contain an alg parameter as the verification key for an HS256/HS384/HS512 token. In the OpenSSL backend, this causes HMAC verification to run with a zero-length key, so an attacker can forge a valid JWT without knowing any secret or RSA private key. This is an algorithm-confusion authentication bypass. It affects applications that load RSA keys from JWKS where alg is omitted, which is valid JWK syntax and common in real deployments, and then choose the verification algorithm from the JWT header, for example in a kid lookup callback. This vulnerability is fixed in 3.3.3.","modified":"2026-11-13T11:20:24.193879998Z","published":"2026-05-15T17:16:00Z","upstream":["CVE-2026-44699"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-44699"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-44699"},{"type":"REPORT","url":"https://github.com/benmcollins/libjwt/security/advisories/GHSA-q843-6q5f-w55g"}],"affected":[{"package":{"name":"libjwt","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libjwt?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.0+dfsg-1","1.8.0+dfsg-2","1.9.0-1","1.9.0-1build1","1.9.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.0-1ubuntu0.1~esm1","binary_name":"libjwt0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libjwt?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2-1","1.10.2-1ubuntu0.20.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10.2-1ubuntu0.20.04.1~esm1","binary_name":"libjwt-gnutls0"},{"binary_version":"1.10.2-1ubuntu0.20.04.1~esm1","binary_name":"libjwt0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libjwt?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2-1","1.10.2-1build1","1.10.2-1ubuntu0.22.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjwt-gnutls0","binary_version":"1.10.2-1ubuntu0.22.04.1~esm1"},{"binary_name":"libjwt0","binary_version":"1.10.2-1ubuntu0.22.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libjwt?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2-1build1","1.17.0-2","1.17.0-2build1","1.17.0-2build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.17.0-2build2","binary_name":"libjwt-gnutls2"},{"binary_name":"libjwt2","binary_version":"1.17.0-2build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libjwt?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.17.2-1","binary_name":"libjwt-gnutls2"},{"binary_name":"libjwt2","binary_version":"1.17.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libjwt?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.2-1build1","1.17.2-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.17.2-1build2","binary_name":"libjwt-gnutls2"},{"binary_name":"libjwt2","binary_version":"1.17.2-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt3","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libjwt3?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.3-1","3.3.3-1","3.3.3-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"jwt-tools","binary_version":"3.3.3-1build1"},{"binary_name":"libjwt14","binary_version":"3.3.3-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libjwt?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.17.2-1","1.17.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjwt-gnutls2","binary_version":"1.17.2-1build1"},{"binary_version":"1.17.2-1build1","binary_name":"libjwt2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}},{"package":{"name":"libjwt3","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libjwt3?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.2-1","3.2.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"jwt-tools","binary_version":"3.2.3-1"},{"binary_name":"libjwt14","binary_version":"3.2.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44699.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}