An exploitable integer overflow vulnerability exists in the flattenIncrementally function in the xcf2png and xcf2pnm binaries of xcftools 1.0.7. An integer overflow can occur while calculating the rows allocation size, that could be exploited to corrupt memory and eventually execute arbitrary code. In order to trigger this vulnerability, a victim would need to open a specially crafted XCF file.
The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Xcftools | Xcftools_project | 1.0.7 (including) | 1.0.7 (including) |
Xcftools | Ubuntu | bionic | * |
Xcftools | Ubuntu | disco | * |
Xcftools | Ubuntu | eoan | * |
Xcftools | Ubuntu | esm-apps/xenial | * |
Xcftools | Ubuntu | focal | * |
Xcftools | Ubuntu | groovy | * |
Xcftools | Ubuntu | trusty | * |
Xcftools | Ubuntu | xenial | * |