CVE-2025-47256 Memory corruption in Libxmp
A stack-based buffer overflow in Libxmp allows attackers to execute arbitrary code or cause denial of service via a malformed Pha format tracker module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-47256?
CVE-2025-47256 is a medium-severity memory corruption vulnerability in Libxmp, published on 6 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-191
Which versions are affected by CVE-2025-47256?
Linux distribution packages (1)
libxmp openSUSE:Tumbleweed | All versions | 4.6.3-1.1 |
How do I fix CVE-2025-47256?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-47256 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-47256 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as DEBIAN-CVE-2025-47256, GHSA-vg32-cm75-rjr5, UBUNTU-CVE-2025-47256, openSUSE-SU-2025:15081-1.