CVE-2023-6879
Critical · 9.0CVSS
9.0
EPSS
1.2%
Published
Dec 27, 2023
CISA due date
—
Cloudanix analysis
A flaw in how Wireshark handles certain video data inside network recordings can let attackers crash the program or run their own code when someone opens a malicious recording.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap overflow in av1_loop_restoration_dealloc() triggered when video frame resolution increases during multi-threaded AV1 encoding or analysis.
Why it matters to the business
Attackers could crash the application or execute arbitrary code by supplying specially crafted network captures, leading to loss of analysis capability, potential data exposure during packet inspection, and operational disruption for teams relying on traffic analysis.
How an attack unfolds
An attacker generates or modifies a packet capture containing AV1-encoded video traffic with increasing frame resolutions, then delivers the capture to a target system running the vulnerable version. When the target opens the file, multi-threaded processing in the AV1 restoration function overflows the heap, allowing control of execution flow.
How to fix it
Upgrade to Wireshark GIT commit 5ee0b97c963ed2e976ccd04c18f159fb3061c3a6 or later. Rebuild from source if using a development checkout and verify the commit is included before deployment.
How to confirm the fix worked
Confirm the installed Wireshark binary or source tree contains commit 5ee0b97c963ed2e976ccd04c18f159fb3061c3a6. Test by loading sample captures that previously triggered the overflow; the application should no longer crash or exhibit memory corruption.
Typical attack path
- Craft malicious pcap with AV1 video frames that escalate resolution across threads
- Deliver the capture file to the victim via email, download, or shared storage
- Victim opens the file in the vulnerable Wireshark instance
- Multi-threaded decode path calls av1_loop_restoration_dealloc() and overflows heap
- Attacker gains code execution or causes denial of service
How to detect it
Review process crash logs and memory dumps for heap corruption patterns during Wireshark execution on packet captures. Correlate file-open events with subsequent abnormal termination or high-severity memory errors.
What your security team should do
- Immediately update all Wireshark instances to the fixed commit or a subsequent release containing it
- Restrict opening of untrusted packet captures until patches are applied
- Monitor for new Wireshark releases and integrate automated build verification of the fix commit
- Educate analysts on safe handling of external capture files
The record
Increasing the resolution of video frames, while performing a multi-threaded encode, can result in a heap overflow in av1_loop_restoration_dealloc().
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | aom | 0 | No fix |
| Debian:12 | aom | 0 | No fix |
| Debian:13 | aom | 0 | 3.7.1-1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | libaom | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | libaom | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | libaom | 0 | 3.2.0-150400.3.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | libaom | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
| SUSE:Linux Enterprise Real Time 15 SP4 | libaom | 0 | 3.2.0-150400.3.3.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | libaom | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | libaom | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
| SUSE:Manager Proxy 4.3 | libaom | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Manager Proxy 4.3 | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Manager Proxy 4.3 | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
| SUSE:Manager Server 4.3 | libaom | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Manager Server 4.3 | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| SUSE:Manager Server 4.3 | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
| Ubuntu:20.04:LTS | aom | 0 | No fix |
| Ubuntu:22.04:LTS | aom | 0 | No fix |
| Ubuntu:24.04:LTS | aom | 0 | 3.7.1-1 |
| Ubuntu:Pro:20.04:LTS | aom | 0 | No fix |
| openSUSE:Leap 15.5 | libaom | 0 | 3.2.0-150400.3.3.1 |
| openSUSE:Leap 15.5 | libaom | 0 | 3.7.1-150400.3.9.1 |
| openSUSE:Leap 15.5 | libaom-devel-doc | 0 | 3.7.1-150400.3.9.1 |
| openSUSE:Leap 15.5 | libyuv | 0 | 20230517+a377993-150400.9.3.1 |
Related vulnerabilities
- CVE-2020-36130 AOM v2.0.1 was discovered to contain a NULL pointer dereference via the component… Also affects aom
- CVE-2023-39616 AOMedia v3.0.0 to v3.5.0 was discovered to contain an invalid read memory access via the… Also affects aom
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-787
- CVE-2026-112397 Pillow is a Python imaging library. CWE-787
- CVE-2026-112059 libLAS through 1.8.1 contains a heap out-of-bounds write vulnerability in the point… CWE-787
- CVE-2026-89088 A flaw was found in parted. CWE-787
- CVE-2026-89085 A flaw was found in parted. CWE-787
- CVE-2026-85746 MariaDB server is a community developed fork of MySQL server. CWE-787