Stack-based buffer overflow in libxmp - CVE-2025-47256
Published: May 12, 2025 / Updated: June 6, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the depack_pha() function in loaders/prowizard/pha.c. A remote attacker can pass a specially crafted .mod file to the application, trigger a stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Fedora
libxmp
How to mitigate CVE-2025-47256
libxmp - addressed in versions 4.6.2-3.fc40, 4.6.2-3.fc41, 4.6.2-3.fc42, 4.6.3-2.el8