USN-7160-1: Mpmath vulnerability

Publication date

15 December 2024

Overview

Mpmath could be made to crash if it opened a specially crafted file.


Packages

  • mpmath - library for arbitrary-precision floating-point arithmetic

Details

It was discovered Mpmath incorrectly handled certain regular expressions.
An attacker could possibly use this issue to cause Mpmath to consume
resources, leading to a denial of service.

It was discovered Mpmath incorrectly handled certain regular expressions.
An attacker could possibly use this issue to cause Mpmath to consume
resources, leading to a denial of service.

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
20.04 focal python3-mpmath –  1.1.0-2ubuntu0.1~esm1  
18.04 bionic python-mpmath –  1.0.0-1ubuntu0.1~esm1  
python3-mpmath –  1.0.0-1ubuntu0.1~esm1  
16.04 xenial python-mpmath –  0.19-3ubuntu0.1~esm1  
python3-mpmath –  0.19-3ubuntu0.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 ›