Description
An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable.
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 14 | libmtp | 1.1.13-1 | — |
| Debian 13 | libmtp | 1.1.13-1 | — |
| Debian 12 | libmtp | 1.1.13-1 | — |
| Debian 8 | libmtp | 1.1.8-1+deb8u1 | DLA-2169-1 |
| Debian 7 | libmtp | 1.1.3-35-g0ece104-5+deb7u1 | DLA-1029-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libmtp | No fix yet | — |
Advisories 2
- DLA-2169-1 libmtp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1029-1 libmtp - security update Debian Security (DSA / DLA) · Mar 9, 2026