Description
Integer Overflow vulnerability in mp_grow in libtom libtommath before commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, allows attackers to execute arbitrary code and cause a denial of service (DoS).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libtommath | 1.2.1-1 | — |
| Debian 13 | libtommath | 1.2.1-1 | — |
| Debian 12 | libtommath | 1.2.0-6+deb12u1 | — |
| Debian 11 | libtommath | 1.2.0-6+deb11u1 | DLA-3857-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libtommath | 1.2.0-6ubuntu0.22.04.1 | USN-6402-1 |
| Ubuntu 20.04 LTS | libtommath | 1.2.0-3ubuntu0.1 | USN-6402-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libtommath | 1.0.1-1ubuntu0.1~esm1 | USN-6402-1 |
| Ubuntu Pro 16.04 LTS | libtommath | 0.42.0-1.2ubuntu0.1~esm1 | USN-6402-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libtommath | 1.2.1-r0 | — |
| Alpine v3.23 | libtommath | 1.2.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libtommath +2 | 1.2.0-62.amzn2023.0.1 | ALAS2023-2023-370 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libtommath | 1.1.0-5 | — |
| Azure Linux 3 | samba | No fix yet | — |
| Azure Linux 3 | tcl | 8.6.13-3 | — |
| Azure Linux 2 (CBL-Mariner) | libtommath | 1.1.0-5 | — |
| Azure Linux 2 (CBL-Mariner) | tcl | 8.6.13-2 | — |
Advisories 4
- USN-6402-1 libtommath vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3857-1 libtommath - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-3369 IBM AIX und VIOS: Schwachstelle ermöglicht Codeausführung und DoS BSI CERT-Bund (WID) · Nov 7, 2024
- ALAS2023-2023-370 Moderate: libtommath security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 3, 2023
References
- https://github.com/libtom/libtommath/pull/546
- FEDORA-2023-69b85312f0 vendor-advisory
- FEDORA-2023-f357a25877 vendor-advisory
- FEDORA-2023-f5680e3b4b vendor-advisory