Description
Libxmp through 4.6.2 has a stack-based buffer overflow in depack_pha in loaders/prowizard/pha.c via a malformed Pha format tracker module in a .mod file.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Libxmp | Libxmp | ≤ 4.6.2 | — |
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 | libxmp | 4.6.2-2 | — |
| Debian 13 | libxmp | 4.6.2-2 | — |
| Debian 12 | libxmp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | libxmp | No fix yet | — |
| Ubuntu 24.04 LTS | libxmp | No fix yet | — |
| Ubuntu 22.04 LTS | libxmp | No fix yet | — |
| Ubuntu 20.04 LTS | libxmp | No fix yet | — |
| Ubuntu 18.04 LTS | libxmp | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libxmp | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libxmp | 4.6.3-1.1 | openSUSE-SU-2025:15081-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
SexyShoelessGodofWar/CVE-2025-47256 ★ 1 · May 5, 2025
Stack overflow in LibXMP
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- openSUSE-SU-2025:15081-1 libxmp-devel-4.6.3-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026