Security advisory: CVE-2026-118968: Denial-of-service vulnerability in WAV audio decoding impacts Qt

· by Mehdi Belila · 1 min read · original post ↗

·

A denial-of-service vulnerability in the Qt WAV audio decoding of the Qt Multimedia module has been discovered and has been assigned the CVE id CVE-2026-118968.

Affected versions: from Qt 6.11.0 to Qt 6.12.0

Impact: A specially crafted WAV file processed by QSoundEffect (QML: SoundEffect), the Spatial Audio types QSpatialSound and QAmbientSound (QML: SpatialSound, AmbientSound), or QAudioDecoder can cause the application to allocate an excessive amount of memory. QAudioDecoder is affected only on WebAssembly or when no Qt Multimedia media backend plugin is deployed. The affected components do not sufficiently validate the WAV file before allocating memory. In the worst case, this leads to an application crash (denial of service).

CVSS 4.0 Score: 1.0 / LOW

Vector String: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:U/R:U/RE:L/U:Clear

Mitigation: Only pass WAV files from trusted sources to the affected components. If your application must handle untrusted WAV files, use QMediaPlayer instead of QSoundEffect, deploy the FFmpeg or a native media backend plugin when using QAudioDecoder, and validate the files before passing them to the affected components.

Solution: Apply the following patch or update to Qt 6.12.1 or later.

Patches:
dev: https://codereview.qt-project.org/c/qt/qtmultimedia/+/776979
Qt 6.12: https://codereview.qt-project.org/c/qt/qtmultimedia/+/777703 or https://download.qt.io/official_releases/qt/6.12/CVE-2026-118968-qtmultimedia-6.12.diff
Qt 6.11: https://codereview.qt-project.org/c/qt/qtmultimedia/+/787101 or https://download.qt.io/official_releases/qt/6.11/CVE-2026-118968-qtmultimedia-6.11.diff

QtSecurity

More on Security

More from Mehdi Belila