Description
An exploitable integer overflow vulnerability exists in the flattenIncrementally function in the xcf2png and xcf2pnm binaries of xcftools, version 1.0.7. An integer overflow can occur while walking through tiles that could be exploited to corrupt memory and execute arbitrary code. In order to trigger this vulnerability, a victim would need to open a specially crafted XCF file.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | xcftools | xcftools 1.0.7 | — |
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 9 | xcftools | 1.0.7-6+deb9u1 | DLA-2553-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | xcftools | 1.0.7-6ubuntu0.20.04.1 | USN-5988-1 |
| Ubuntu 18.04 LTS | xcftools | 1.0.7-6ubuntu0.1 | USN-5988-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | xcftools | 1.0.7-5ubuntu0.1~esm1 | USN-5988-1 |
Advisories 2
- USN-5988-1 xcftools vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-2553-1 xcftools - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [debian-lts-announce] 20210210 [SECURITY] [DLA 2553-1] xcftools security update mailing-list
- [debian-lts-announce] 20210308 [SECURITY] [DLA 2553-2] xcftools regression update mailing-list
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0878
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0878