Libtom · Libtommath · CVE-2023-36328
**Name of the Vulnerable Software and Affected Versions**
libtom libtommath versions before commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9
**Description**
The issue is related to an integer overflow vulnerability in the mp grow function of the libtom libtommath library. This vulnerability can be exploited by a remote attacker to execute arbitrary code and cause a denial of service (DoS). The vulnerability is caused by improper bounds checking, allowing a specially crafted request to overflow a buffer.
**Recommendations**
For libtom libtommath versions before commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, update to a version that includes the fix for the integer overflow vulnerability in the mp grow function. As a temporary workaround, consider restricting access to the mp grow function to minimize the risk of exploitation.