Description
libsndfile 1.2.2 contains a misaligned memory access issue in psf_binheader_readf() while parsing WAV fmt chunks. A specially crafted WAV file can cause the function to cast an unaligned destination address to unsigned int * and perform a 4-byte store. This results in undefined behavior leading to denial of service.
Published: 2026-09-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

A misaligned memory access bug exists in libsndfile 1.2.2 within the function psf_binheader_readf when parsing WAV fmt chunks. When an attacker supplies a specially crafted WAV file, the function casts an unaligned destination address to an unsigned int pointer and performs a 4‑byte store, leading to undefined behaviour and a crash of the consuming application, which manifests as a denial of service.

Affected Systems

The vulnerability affects libsndfile version 1.2.2. No specific vendors or products are listed in the advisory; the library is a widely used component for reading audio files.

Risk and Exploitability

The CVSS score of 5.5 indicates a moderate severity, and the EPSS score of less than 1% suggests a low likelihood of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. An attacker would need to provide a malicious WAV file to the application that uses libsndfile, making the attack dependent on the ability to supply files to the target. Because the flaw is confined to the file‑parsing routine, no additional privileges are required beyond the ability to introduce the file.

Generated by OpenCVE AI on September 26, 2026 at 05:51 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libsndfile to a release that contains the fix for the misaligned memory access issue.
  • If an immediate upgrade is not possible, run any audio file handling that uses libsndfile in a sandboxed or isolated process so that a crash does not affect the main application.
  • Sanitize or validate WAV files before handing them to libsndfile to ensure that fmt chunks are correctly aligned and well‑formed.

Generated by OpenCVE AI on September 26, 2026 at 05:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 27 Sep 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Libsndfile Project
Libsndfile Project libsndfile
Vendors & Products Libsndfile Project
Libsndfile Project libsndfile

Sat, 26 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Fri, 25 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Title libsndfile: libsndfile: Denial of Service via misaligned memory access during WAV parsing
Weaknesses CWE-843
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 24 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Description libsndfile 1.2.2 contains a misaligned memory access issue in psf_binheader_readf() while parsing WAV fmt chunks. A specially crafted WAV file can cause the function to cast an unaligned destination address to unsigned int * and perform a 4-byte store. This results in undefined behavior leading to denial of service.
References

Subscriptions

Libsndfile Project Libsndfile
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-25T16:49:52.546Z

Reserved: 2026-09-10T00:00:00.000Z

Link: CVE-2026-88386

cve-icon Vulnrichment

Updated: 2026-09-25T16:49:47.780Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T21:18:57.003

Modified: 2026-09-25T17:17:17.833

Link: CVE-2026-88386

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-88386 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:00:09Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')