USN-9122-1: pysha3 vulnerability

Publication date

17 November 2026

Overview

pysha3 could be made to crash or run programs if it received specially crafted input.


Packages

  • pysha3 - SHA-3 (Keccak) hash implementation for Python

Details

Nicky Mouha discovered that pysha3 incorrectly handled certain SHA-3
operations, leading to an integer overflow. An attacker could possibly use
this issue to cause pysha3 to crash, resulting in a denial of service, or
possibly execute arbitrary code.

Nicky Mouha discovered that pysha3 incorrectly handled certain SHA-3
operations, leading to an integer overflow. An attacker could possibly use
this issue to cause pysha3 to crash, resulting in a denial of service, or
possibly execute arbitrary code.

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
18.04 LTS bionic python-sha3 –  1.0.2-2ubuntu2+esm1  
python3-sha3 –  1.0.2-2ubuntu2+esm1  
16.04 LTS xenial python-pysha3 –  1.0.0-0ubuntu1~ubuntu16.04.2+esm1  
python3-pysha3 –  1.0.0-0ubuntu1~ubuntu16.04.2+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 ›