CVE-2025-47256
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 · uneditedLibxmp 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 confidenceLibxmp 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.
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 checksWork through these to decide whether this CVE applies to you.
-
Identify libxmp library versionRun '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
-
Confirm the application uses libxmpRun '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
-
Identify if .mod file processing is occurringReview application logs or usage patterns for .mod file loading, or check the application configuration for supported module formatsAffected if The application loads or processes .mod tracker module files
-
Check for Pha format loader presenceInspect the libxmp binary for the pha.c component presence, or verify the library was compiled with prowizard support enabled by examining build configuration if accessibleAffected if The libxmp build includes the prowizard/pha loader component, which handles Pha format embedded in .mod files
-
Review input handling for .mod filesAudit how .mod files are accepted and processed - check if user-supplied .mod files are directly passed to libxmp without validationAffected 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.
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 · scopedUpgrade 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.
libxmp 4.6.3 or later (any version succeeding 4.6.2)
- 1. Identify the libxmp library version currently in use by checking project dependencies or running version detection
- 2. Download or obtain libxmp version 4.6.3 or later from the official libxmp project repository (github.com/libxmp/libxmp)
- 3. Replace the existing libxmp library binary/source with the updated version
- 4. Rebuild any dependent projects that link against libxmp
- 5. Retest the application with the updated library to verify the vulnerability is remediated
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA2.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-47256 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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