Skip to main content

libsndfile CVE-2026-88386

| EUVDEUVD-2026-86472 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-09-24 mitre GHSA-x44m-83p2-j4h6
5.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed WAV fmt chunk
  2. Delivery
    Deliver file to victim/service
  3. Exploit
    Victim opens file with libsndfile
  4. Execution
    Unaligned 4-byte store faults
  5. Impact
    Process crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the victim to open or process an attacker-supplied, specially crafted WAV file with libsndfile 1.2.2 (UI:R, AV:L - the file must be delivered to and parsed on the target). The unaligned 4-byte store in psf_binheader_readf() reliably faults primarily on strict-alignment CPU architectures (ARM, SPARC, MIPS, and UBSan-instrumented builds); on x86/x86-64 the misaligned access is typically tolerated and may not crash, which materially limits real-world impact. No authentication or special server configuration is needed, but exploitation is bounded to a single-process denial of service - no code execution, data disclosure, or integrity impact.

Impact

All signals converge on this being a LOW real-world priority despite the 5.5 (medium) CVSS. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) confirms local attack vector with required user interaction and pure availability impact - no confidentiality or integrity loss. EPSS is negligible at 0.14% (3rd percentile), there is no CISA KEV listing, and no public exploit was identified at time of analysis. The only meaningful outcome is a crash (denial of service) of whatever process links libsndfile and opens the malicious WAV. Two caveats worth stating explicitly: (1) the A:H rating is generous - the impact is a single-process crash on file open, not a service-wide outage, so A:L is defensible; and (2) the 'undefined behavior' primarily manifests as a fault (e.g. SIGBUS) on strict-alignment architectures (ARM, SPARC, MIPS) - on x86/x86-64 the unaligned store is typically tolerated and may not crash at all, so real-world DoS is architecture-dependent. This is a robustness/UB hardening fix, not a memory-corruption exploitation primitive.

Exploit ScenarioDerived

An attacker crafts a malformed WAV file whose fmt chunk drives psf_binheader_readf() to store a 4-byte value through an unaligned destination pointer, and delivers it to a victim (email attachment, download, media upload pipeline). When the victim's application or service parses the file with libsndfile 1.2.2 on a strict-alignment platform, the misaligned store faults and the process crashes. No public exploit code was identified; the underlying flaw is undefined behavior yielding a crash rather than code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Opening a specially crafted WAV file with libsndfile 1.2.2 can cause a denial of service when the library's header parser performs an unaligned 4-byte store through a cast unsigned int pointer, which faults on strict-alignment CPU architectures. The flaw is reachable by remote attackers who can get a victim to process the malicious file, but requires user interaction and results in single-process crash only, with no code execution, data disclosure, or integrity impact. There is no public exploit code and no evidence of active exploitation; EPSS is 0.14% (3rd percentile) and the CVE is not in CISA KEV, so despite the medium 5.5 CVSS score this is a low real-world priority. Additionally, because x86/x86-64 tolerates misaligned access, the crash is largely limited to ARM, SPARC, MIPS and sanitizer-instrumented builds.

RemediationAI

No vendor-tagged libsndfile release containing the fix is confirmed in the available data; the specific fix is the upstream commit https://github.com/mhlavink/libsndfileci/commit/474e4d328b1e6240b93ec6ed14efb7c6a44bee57, which converts all multi-byte stores in psf_binheader_readf() to memcpy-based helpers (store_uint, store_ushort, store_count, store_float, store_double) and routes header reads through a local sixteen_bytes buffer. Distro maintainers and integrators should backport that commit or apply it directly and rebuild; since the released-version status is not independently confirmed, verify the patched artifact before relying on it. If patching is not immediately possible, the most effective compensating control is to run untrusted audio processing inside an isolated, restartable per-file worker process (container, seccomp/AppArmor-confined helper, or a crash-supervised subprocess) so a fault kills only that worker - a moderate engineering cost that does not change parsing behavior; alternatively, restrict or disable WAV ingestion at the service boundary (accept only trusted/known-good uploads or pre-convert to a validated format), which removes the attack path but reduces functionality, or compile with alignment sanitizers to detect the condition, which adds overhead and is diagnostic rather than preventive. Note that the fault is architecture-dependent, so x86/x86-64 hosts may not exhibit a crash even with vulnerable code, while ARM, SPARC, MIPS and sanitizer-instrumented builds remain at risk; full advisory context is at https://nvd.nist.gov/vuln/detail/CVE-2026-88386 and https://github.com/libsndfile/libsndfile/issues/1150.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libsndfile's psf_binheader_readf() is the generic binary header parser that reads WAV/RIFF chunk fields (fmt, data, etc.) into caller-provided destination variables via a printf-style format string. The destination fields live inside packed on-disk header structs, so their addresses are not guaranteed to be naturally aligned; the code cast those addresses directly to unsigned int *, short *, float * and sf_count_t * and stored through them. Per the upstream fix commit, the root cause is this cast-and-store pattern, which is undefined behavior and raises a hardware alignment fault on strict-alignment targets when a 4-byte store lands on an unaligned address. The CVE is tagged CWE-122 (heap-based buffer overflow) with tags Buffer Overflow, Heap Overflow and Denial Of Service, but the code diff and description make clear the practical manifestation is an unaligned memory access (SBSP/EUVD tracking also records this as a DoS-class issue rather than a memory-corruption primitive). Affected code is in src/common.c, and the fix replaces every multi-byte store with memcpy-based store_uint/store_ushort/store_count/store_float/store_double helpers plus a local sixteen_bytes buffer, eliminating the unaligned access. No meaningful CPE string was supplied (n/a:n/a), so scoping must rely on the version field: libsndfile 1.2.2.

Know when Libsndfile gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Malicious file must be opened locally (AV:L, UI:R); no auth needed (PR:N); pure crash so C:N/I:N/A:H, though A:L is defensible given single-process, architecture-dependent impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Sep 25, 2026 - 17:22 NVD
5.5 (MEDIUM)
CVE Published
Sep 24, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 24, 2026 - 00:00 cve.org
MEDIUM 5.5

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
libsndfile is a ubiquitous audio-decoding library bundled across Linux audio stacks and many apps
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2015-7805 CRITICAL POC
9.3 Nov 17

Heap-based buffer overflow in libsndfile 1.0.25 allows remote attackers to have unspecified impact via the headindex val

CVE-2021-3246 HIGH POC
8.8 Jul 20

A heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary

CVE-2018-19662 HIGH POC
8.1 Nov 29

An issue was discovered in libsndfile 1.0.28. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable

CVE-2025-52194 HIGH POC
7.5 Aug 21

A buffer overflow vulnerability exists in libsndfile version 1.2.2 and potentially earlier versions when processing malf

CVE-2026-37555 HIGH POC
7.5 Apr 29

Denial of service and potential heap buffer overflow in libsndfile 1.2.2's IMA ADPCM codec allows remote attackers to cr

CVE-2024-50613 MEDIUM POC
6.5 Oct 27

libsndfile through 1.2.2 has a reachable assertion, that may lead to application exit, in mpeg_l3_encode.c mpeg_l3_encod

CVE-2018-19758 MEDIUM POC
6.5 Nov 30

There is a heap-based buffer over-read at wav.c in wav_write_header in libsndfile 1.0.28 that will cause a denial of ser

CVE-2018-19661 MEDIUM POC
6.5 Nov 29

An issue was discovered in libsndfile 1.0.28. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitab

CVE-2018-19432 MEDIUM POC
6.5 Nov 22

An issue was discovered in libsndfile 1.0.28. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitab

CVE-2017-12562 CRITICAL
9.8 Aug 05

Heap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile through 1.0.28 allows remote a

CVE-2017-7742 MEDIUM POC
5.5 Apr 12

In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a segmenta

CVE-2017-7741 MEDIUM POC
5.5 Apr 12

In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a segmenta

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Not-Affected
SUSE Linux Enterprise Server 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy