What’s Vulnerable › Vulnerabilities
CVE-2022-1922
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-07-19 · updated 2026-06-17
- Weakness: CWE-122
Description
DOS / potential heap overwrite in mkv demuxing using zlib decompression. Integer overflow in matroskademux element in gst_matroska_decompress_data function which causes a segfault, or could cause a heap overwrite, depending on libc and OS. Depending on the libc used, and the underlying OS capabilities, it could be just a segfault or a heap overwrite. If the libc uses mmap for large chunks, and the OS supports mmap, then it is just a segfault (because the realloc before the integer overflow will use mremap to reduce the size of the chunk, and it will start to write to unmapped memory). However, if using a libc implementation that does not use mmap, or if the OS does not support mmap while using libc, then this could result in a heap overwrite.
Affected products
- Debian Linux: 10.0, 11.0
- GStreamer: before 1.20.3 — fixed in 1.20.3
How to fix
Upgrade to a fixed version: GStreamer 1.20.3. Check the vendor advisory for mitigations.
References
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225
- https://lists.debian.org/debian-lts-announce/2022/08/msg00001.html
- https://www.debian.org/security/2022/dsa-5204
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225
- https://lists.debian.org/debian-lts-announce/2022/08/msg00001.html
- https://www.debian.org/security/2022/dsa-5204
Get alerted when CVE-2022-1922 or the next vulnerability affects your stack