CWE-191Weakness · CWE-191

CVE-2025-47256

MEDIUM · 5.6 CVSS v3.1 Published 2025-05-06
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
61/100
Remediation priority · Elevated
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Libxmp through 4.6.2 contains a stack-based buffer overflow vulnerability in the depack_pha function within loaders/prowizard/pha.c. The overflow occurs when parsing a malformed Pha format tracker module embedded in a .mod file, allowing potential code execution or denial of service via stack corruption.

MitigationUpgrade libxmp to version 4.6.3 or later, which contains the patch for this vulnerability. If upgrading is not immediately feasible, sanitize or reject malformed Pha format tracker modules before processing with libxmp.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
High
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify libxmp library version
    Run 'pkg-config --modversion libxmp' or check the shared library with 'ldd' against the binary using libxmp, or inspect the library file directly with 'strings libxmp.so.* | grep -i version'
    Affected if The version is 4.6.2 or lower, or if no version string is found and the library predates the 4.6.3 patch
  2. Confirm the application uses libxmp
    Run 'ldd <executable>' or 'ldd <application_binary>' to list linked libraries, or check the application's dependencies with 'objdump -p <binary> | grep NEEDED'
    Affected if libxmp is linked to the application that processes audio files
  3. Identify if .mod file processing is occurring
    Review application logs or usage patterns for .mod file loading, or check the application configuration for supported module formats
    Affected if The application loads or processes .mod tracker module files
  4. Check for Pha format loader presence
    Inspect the libxmp binary for the pha.c component presence, or verify the library was compiled with prowizard support enabled by examining build configuration if accessible
    Affected if The libxmp build includes the prowizard/pha loader component, which handles Pha format embedded in .mod files
  5. Review input handling for .mod files
    Audit how .mod files are accepted and processed - check if user-supplied .mod files are directly passed to libxmp without validation
    Affected if The application loads .mod files from untrusted sources without sanitization, allowing malformed Pha-format data to reach libxmp

The environment is affected if libxmp version 4.6.2 or earlier is installed AND the application uses libxmp to process .mod files that could contain embedded Pha format tracker modules.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade libxmp to version 4.6.3 or later, which contains the patch for this vulnerability. If upgrading is not immediately feasible, sanitize or reject malformed Pha format tracker modules before processing with libxmp.

Recommended fix Moderate confidence

libxmp 4.6.3 or later (any version succeeding 4.6.2)

  1. 1. Identify the libxmp library version currently in use by checking project dependencies or running version detection
  2. 2. Download or obtain libxmp version 4.6.3 or later from the official libxmp project repository (github.com/libxmp/libxmp)
  3. 3. Replace the existing libxmp library binary/source with the updated version
  4. 4. Rebuild any dependent projects that link against libxmp
  5. 5. Retest the application with the updated library to verify the vulnerability is remediated
Caveat Minor - libxmp is a stable library with minimal breaking changes between patch releases; verify any custom parser modifications if applicable

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,380
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,808.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-47256 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-47256 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data