USN-9075-1: libjwt vulnerability

Publication date

12 November 2026

Overview

libjwt could be made to accept forged tokens.


Packages

  • libjwt - C library to handle JWT (JSON Web Token)

Details

It was discovered that libjwt did not use a constant-time comparison when
verifying HMAC signatures. A remote attacker could possibly use this issue
to forge signatures through a timing side-channel attack and bypass
authentication.

It was discovered that libjwt did not use a constant-time comparison when
verifying HMAC signatures. A remote attacker could possibly use this issue
to forge signatures through a timing side-channel attack and bypass
authentication.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 LTS jammy libjwt-gnutls0 –  1.10.2-1ubuntu0.22.04.1~esm1  
libjwt0 –  1.10.2-1ubuntu0.22.04.1~esm1  
20.04 LTS focal libjwt-gnutls0 –  1.10.2-1ubuntu0.20.04.1~esm1  
libjwt0 –  1.10.2-1ubuntu0.20.04.1~esm1  
18.04 LTS bionic libjwt0 –  1.9.0-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›