The psf_fwrite function in file_io.c in libsndfile allows attackers to cause a denial of service (divide-by-zero error and application crash
The psf_fwrite function in file_io.c in libsndfile allows attackers to cause a denial of service (divide-by-zero error and application crash) via unspecified vectors related to the headindex variable.
- Published
- Nov 19, 2015
- Updated
- Jun 16, 2026
- EPSS
- 2.8% · 86th percentile
- CWE
- CWE-369
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| libsndfile project | libsndfile | cpe:2.3:a:libsndfile_project:libsndfile |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux15.04
- canonical ubuntu linux15.10
- libsndfile project libsndfilebefore 1.0.26
- opensuse leap42.1
- opensuse opensuse13.1
- opensuse opensuse13.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libsndfile | before 1.0.25-10 | 1.0.25-10 |
| Debian:6.0 | libsndfile | before 1.0.21-3+squeeze2 | 1.0.21-3+squeeze2 |
| Debian:7 | libsndfile | before 1.0.25-9.1+deb7u1 | 1.0.25-9.1+deb7u1 |
| openSUSE:Tumbleweed | libsndfile | before 1.0.26-2.4 | 1.0.26-2.4 |
| openSUSE:Tumbleweed | libsndfile-progs | before 1.0.26-2.4 | 1.0.26-2.4 |
| SUSE:Linux Enterprise Desktop 12 | libsndfile | before 1.0.25-25.1 | 1.0.25-25.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP3 | libsndfile | before 1.0.20-2.10.2 | 1.0.20-2.10.2 |
Same product
libsndfile project: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-12562Heap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile through 1.0.28 allows remote attackers to cause a 40Plan
- CVE-2021-3246A heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted W36Monitor
- CVE-2018-13139A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (applicati36Monitor
- CVE-2017-6892In libsndfile version 1.0.28, an error in the "aiff_read_chanmap()" function (aiff.c) can be exploited to cause an out-of-bounds read memory36Monitor
- CVE-2017-8361The flac_buffer_copy function in flac.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (buffer overflow and appli36Monitor
- CVE-2018-19662An issue was discovered in libsndfile 1.0.28.33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libsndfile | 1.0.25-10 · Debian:12 | Package registry (OSV) |
| opensuse:libsndfile | 1.0.26-2.4 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:libsndfile-progs | 1.0.26-2.4 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:libsndfile | 1.0.20-2.10.2 · SUSE:Linux Enterprise Software Development Kit 11 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-369 · Divide By ZeroCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-updates/2015-11/msg00077.html
- lists.opensuse.org/opensuse-updates/2015-11/msg00145.html
- www.openwall.com/lists/oss-security/2014/12/24/3
- www.openwall.com/lists/oss-security/2015/11/03/9
- www.ubuntu.com/usn/USN-2832-1
- github.com/erikd/libsndfile/commit/725c7dbb95bfaf8b4bb7b04820e3a00cceea9ce6
Vendor advisories and official records. Exploit/PoC links are deliberately left out.