Integer overflow in CryptX - CVE-2025-40914
Published: June 25, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow caused by usage of a vulnerable version of LibTomMath, as described in #VU80405 (CVE-2023-36328). A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.
Affected software
Fedora
perl-CryptX
How to mitigate CVE-2025-40914
perl-CryptX - addressed in versions 0.087-1.fc43, 0.087-2.el8, 0.087-2.el9, 0.087-2.el10_0, 0.087-2.el10_1, 0.087-2.fc41, 0.087-2.fc42