Integer overflow in LibTomMath - CVE-2023-36328
Published: September 4, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow within the mp_grow() function. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Fedora
IBM AIX
Ubuntu
openEuler
Anolis OS
IBM VIOS
libtommath1 (Ubuntu package)
libtommath0 (Ubuntu package)
libtommath
libtommath-devel
libtommath-debuginfo
libtommath-help
libtommath-debugsource
How to mitigate CVE-2023-36328
libtommath1 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.2.0-3ubuntu0.1, 1.2.0-6ubuntu0.22.04.1, 1.2.0-6ubuntu0.23.04.1, 1.2.0-6ubuntu0.23.10.1
libtommath0 (Ubuntu package) - update to Ubuntu Pro
libtommath - addressed in versions 0.42.0-6.el7, 1.1.0-4.el8, 1.2.0-10.el9, 1.2.0-11.fc37, 1.2.0-12.fc38, 1.2.0-13.fc39
libtommath-devel - update to 1.1.0-4
libtommath-debuginfo - update to 1.1.0-4
libtommath-help - update to 1.1.0-4
libtommath-debugsource - update to 1.1.0-4
libtommath - update to 1.1.0-4
libtommath - update to 1.2.0-4.1
libtommath-devel - update to 1.2.0-4.1
libtommath - update to 1.2.0-62
External References
Related Security Bulletins
- Remote code execution in LibTomMath
- Fedora 38 update for libtommath
- Fedora 39 update for libtommath
- Fedora 37 update for libtommath
- Fedora EPEL 9 update for libtommath
- Fedora EPEL 8 update for libtommath
- Fedora EPEL 7 update for libtommath
- Ubuntu update for libtommath
- Ubuntu update for libtommath
- openEuler update for libtommath
- IBM AIX and IBM VIOS update for libtom libtommath
- Amazon Linux AMI update for libtommath
- Anolis OS update for libtommath