CVE-2018-13440
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup...
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
CVE-2018-13440- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
CVE-2018-13440- Updated
- 2026-11-02
EUVDEUVD-2018-5382 No score
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
EUVD-2018-5382- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x9mq-8vwj-w2rx
6.5
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup...
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
GHSA-x9mq-8vwj-w2rx- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVAZL-44397
6.5
CVE-2018-13440 affecting package audiofile 0.3.6-27
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
AZL-44397- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
OSVAZL-66249
6.5
CVE-2018-13440 affecting package audiofile 0.3.6-27
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
AZL-66249- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 11 moreShow less
OSV
6.5
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
CVE-2018-13440- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-13440
6.5
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
DEBIAN-CVE-2018-13440- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2026-2353
8.8
audiofile security update
The Audio File Library is a C-based library for reading and writing audio files in many common formats.
Security Fix(es):
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.(CVE-2018-13440)
An issue has been discovered in mpruett Audio File Library (aka audiofile) 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0. A heap-based buffer overflow in Expand3To4Module::run has occurred when running sfconvert.(CVE-2018-17095)
In autofile Audio File Library 0.3.6, there exists one memory leak vulnerability in printfileinfo, in printinfo.c, which allows an attacker to leak sensitive information via a crafted file. The printfileinfo function calls the copyrightstring function to get data, however, it dosn't use zero bytes to truncate the data.(CVE-2022-24599)
- Record
OESA-2026-2353- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2020:3877
7.0
Red Hat Security Advisory: audiofile security update
- Record
RHSA-2020:3877- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-13440
6.5
The audiofile Audio File Library 0.3.6 has a NULL pointer dereference bug in ModuleState::setup in modules/ModuleState.cpp, which allows an attacker to cause a denial of service via a crafted caf file, as demonstrated by sfconvert.
- Record
UBUNTU-CVE-2018-13440- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0441 No score
Updated audiofile packages fix security vulnerabilities
A NULL pointer dereference in modules/ModuleState.cpp:ModuleState::setup() allows for denial of service via crafted file (CVE-2018-13440).
A Heap-based buffer overflow was found in Expand3To4Module::run when running sfconvert (CVE-2018-17095).
- Record
MGASA-2018-0441- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:1260-1 No score
Security update for audiofile
This update for audiofile fixes the following issues:
Security issue fixed:
- CVE-2018-13440: Return AF_FAIL instead of causing NULL pointer dereferences later (bsc#1100523).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:1260-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:0940-1 No score
Security update for audiofile
This update for audiofile fixes the following issues:
Security issue fixed:
- CVE-2018-13440: Return AF_FAIL instead of causing NULL pointer dereferences later (bsc#1100523).
- Record
SUSE-SU-2019:0940-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:1619-1 No score
Security update for audiofile
This update for audiofile fixes the following issues:
Security issue fixed:
- CVE-2018-13440: Return AF_FAIL instead of causing NULL pointer dereferences later (bsc#1100523).
- Record
SUSE-SU-2020:1619-1- Updated
- 2026-11-02
OSVUSN-3800-1 No score
audiofile vulnerabilities
It was discovered that audiofile incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. (CVE-2018-13440)
It was discovered that audiofile incorrectly handled certain files. An attacker could possibly use this issue to execute arbitrary code. (CVE-2018-17095)
- Record
USN-3800-1- Updated
- 2026-11-02
OSVUSN-6558-1 No score
audiofile vulnerabilities
It was discovered that audiofile could be made to dereference invalid memory. If a user or an automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-13440)
It was discovered that audiofile could be made to write out of bounds. If a user or an automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2018-17095)
It was discovered that audiofile could be made to dereference invalid memory. If a user or an automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service. (CVE-2019-13147)
It was discovered that audiofile could be made to leak memory. If a user or an automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to obtain sensitive information. (CVE-2022-24599)
- Record
USN-6558-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
audiofileAzure Linux:3 |
through 0.3.6-27 | None known |
audiofileAzure Linux:2 |
through 0.3.6-27 | None known |
audiofileDebian:12 |
before 0.3.6-5 | 0.3.6-5 |
audiofileDebian:13 |
before 0.3.6-5 | 0.3.6-5 |
audiofileDebian:14 |
before 0.3.6-5 | 0.3.6-5 |
audiofileMageia:6 From an advisory covering 2 CVEs |
before 0.3.6-8.1.mga6 | 0.3.6-8.1.mga6 |
audiofileopenEuler:24.03-LTS-SP1 From an advisory covering 3 CVEs |
before 0.3.6-32.oe2403sp1 | 0.3.6-32.oe2403sp1 |
audiofileopenEuler:24.03-LTS-SP3 From an advisory covering 3 CVEs |
before 0.3.6-32.oe2403sp3 | 0.3.6-32.oe2403sp3 |
audiofileopenEuler:20.03-LTS-SP4 From an advisory covering 3 CVEs |
before 0.3.6-32.oe2003sp4 | 0.3.6-32.oe2003sp4 |
audiofileopenEuler:22.03-LTS-SP4 From an advisory covering 3 CVEs |
before 0.3.6-32.oe2203sp4 | 0.3.6-32.oe2203sp4 |
Show 30 moreShow less
| Package | Affected | Fixed |
|---|---|---|
audiofileopenEuler:24.03-LTS From an advisory covering 3 CVEs |
before 0.3.6-32.oe2403 | 0.3.6-32.oe2403 |
audiofileRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-debuginfoRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-develRed Hat:enterprise_linux:7::client From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofileRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-debuginfoRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-develRed Hat:enterprise_linux:7::computenode From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofileRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-debuginfoRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-develRed Hat:enterprise_linux:7::server From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofileRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-debuginfoRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofile-develRed Hat:enterprise_linux:7::workstation From an advisory covering 2 CVEs |
before 1:0.3.6-9.el7 | 1:0.3.6-9.el7 |
audiofileSUSE:Linux Enterprise Module for Desktop Applications 15 |
before 0.3.6-3.7.10 | 0.3.6-3.7.10 |
audiofileSUSE:Linux Enterprise Software Development Kit 12 SP4 |
before 0.3.6-11.7.8 | 0.3.6-11.7.8 |
audiofileSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 0.3.6-11.7.8 | 0.3.6-11.7.8 |
audiofileSUSE:Linux Enterprise Server 12 SP4 |
before 0.3.6-11.7.8 | 0.3.6-11.7.8 |
audiofileSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 0.3.6-11.7.8 | 0.3.6-11.7.8 |
audiofileSUSE:Linux Enterprise Server 12 SP5 |
before 0.3.6-11.7.8 | 0.3.6-11.7.8 |
audiofileSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 0.3.6-11.7.8 | 0.3.6-11.7.8 |
audiofileUbuntu:14.04:LTS |
before 0.3.6-2ubuntu0.14.04.3, plus listed versions 0.3.6-20.3.6-2ubuntu0.14.04.10.3.6-2ubuntu0.14.04.2 |
0.3.6-2ubuntu0.14.04.3 |
audiofileUbuntu:Pro:16.04:LTS |
before 0.3.6-2ubuntu0.16.04.1+esm1, plus listed versions 0.3.6-20.3.6-2ubuntu0.15.10.10.3.6-2ubuntu0.16.04.1 |
0.3.6-2ubuntu0.16.04.1+esm1 |
audiofileUbuntu:Pro:18.04:LTS |
before 0.3.6-4ubuntu0.1~esm1, plus listed versions 0.3.6-4 |
0.3.6-4ubuntu0.1~esm1 |
audiofileUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 0.3.6-2ubuntu0.14.04.3, plus listed versions 0.3.6-20.3.6-2ubuntu0.14.04.10.3.6-2ubuntu0.14.04.2 |
0.3.6-2ubuntu0.14.04.3 |
audiofileUbuntu:Pro:14.04:LTS From an advisory covering 4 CVEs |
before 0.3.6-2ubuntu0.14.04.3+esm1, plus listed versions 0.3.6-20.3.6-2ubuntu0.14.04.10.3.6-2ubuntu0.14.04.20.3.6-2ubuntu0.14.04.3 |
0.3.6-2ubuntu0.14.04.3+esm1 |
audiofileUbuntu:Pro:16.04:LTS From an advisory covering 4 CVEs |
before 0.3.6-2ubuntu0.16.04.1+esm1, plus listed versions 0.3.6-20.3.6-2ubuntu0.15.10.10.3.6-2ubuntu0.16.04.1 |
0.3.6-2ubuntu0.16.04.1+esm1 |
audiofileUbuntu:Pro:18.04:LTS From an advisory covering 4 CVEs |
before 0.3.6-4ubuntu0.1~esm1, plus listed versions 0.3.6-4 |
0.3.6-4ubuntu0.1~esm1 |
audiofileUbuntu:20.04:LTS From an advisory covering 4 CVEs |
before 0.3.6-5+deb10u1build0.20.04.1, plus listed versions 0.3.6-50.3.6-5build1 |
0.3.6-5+deb10u1build0.20.04.1 |
audiofileUbuntu:22.04:LTS From an advisory covering 4 CVEs |
before 0.3.6-5+deb10u1build0.22.04.1, plus listed versions 0.3.6-5build1 |
0.3.6-5+deb10u1build0.22.04.1 |
audiofileopenSUSE:Leap 15.0 |
before 0.3.6-lp150.7.1 | 0.3.6-lp150.7.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-13440 is a medium vulnerability (CVSS 6.5) in Audiofile, published July 8, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.11%, the 87th percentile. Fixed in audiofile 0.3.6-5.
References
github.com/mpruett/audiofile/issues/49
usn.ubuntu.com/3800-1
nvd.nist.gov/vuln/detail/CVE-2018-13440
github.com/advisories/GHSA-x9mq-8vwj-w2rx
security-tracker.debian.org/tracker/CVE-2018-13440
advisories.mageia.org/MGASA-2018-0441.html
Show 26 moreShow less
bugs.mageia.org/show_bug.cgi?id=23754
lists.fedoraproject.org/archives/list/[email protected]/thread/IILVUXOJMQBFB3GUWXZZXN4PLR3PV4IO
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2353
nvd.nist.gov/vuln/detail/CVE-2018-17095
nvd.nist.gov/vuln/detail/CVE-2022-24599
access.redhat.com/errata/RHSA-2020:3877
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.9_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1600367
bugzilla.redhat.com/show_bug.cgi?id=1631088
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3877.json
access.redhat.com/security/cve/CVE-2018-13440
cve.org/CVERecord?id=CVE-2018-13440
access.redhat.com/security/cve/CVE-2018-17095
cve.org/CVERecord?id=CVE-2018-17095
suse.com/support/update/announcement/2019/suse-su-20190940-1
bugzilla.suse.com/1100523
suse.com/security/cve/CVE-2018-13440
suse.com/support/update/announcement/2020/suse-su-20201619-1
ubuntu.com/security/CVE-2018-13440
ubuntu.com/security/notices/USN-3800-1
ubuntu.com/security/notices/USN-6558-1
ubuntu.com/security/CVE-2018-17095
ubuntu.com/security/CVE-2019-13147
ubuntu.com/security/CVE-2022-24599
lists.opensuse.org/archives/list/[email protected]/thread/I65IYYVVSYADJTGUNGUGAGZLB5AE2BX4