Back to Security Advisories

Pysha3 Vulnerability — Ubuntu Security Update (USN-9122-1)

USN-9122-1 fixes CVE-2022-37454 in Pysha3 on Ubuntu 18.04 LTS and 16.04 LTS: pysha3 could be made to crash or run programs if it received specially crafted input. A standard system update installs the fix.

Critical 9.8 CVSS
Ubuntu 20.04 Ubuntu 22.04

What this means under a SharedLicense license

An attacker could possibly use this issue to cause pysha3 to crash, resulting in a denial of service, or possibly execute arbitrary code.

Publication date: 17 November 2026

Overview

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

Releases


18.04 LTS


16.04 LTS

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.

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   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
python3-sha3 –  1.0.2-2ubuntu2+esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
16.04 LTS xenial python-pysha3 –  1.0.0-0ubuntu1~ubuntu16.04.2+esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.
python3-pysha3 –  1.0.0-0ubuntu1~ubuntu16.04.2+esm1   Ubuntu Pro Fix available with Ubuntu Pro via ESM Apps. A community fix might become publicly available in the future.

References

Related notices

Frequently Asked Questions

What does USN-9122-1 fix?
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.
Which Ubuntu releases are affected?
The notice lists Ubuntu 18.04 LTS, Ubuntu 16.04 LTS.
How do I apply USN-9122-1?
In general, a standard system update will make all the necessary changes. In practice: run sudo apt update && sudo apt upgrade on the server.
Which packages are updated?
The update ships new builds of pysha3 - SHA-3 (Keccak) hash implementation for Python.

Check your system for vulnerabilities

Select your product and operating system to see the exact fix commands that apply to you.

Check Your System