CVE-2022-1922

gstreamer-plugins-good: Potential heap overwrite in mkv demuxing using zlib decompression

Published Jul 19, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3069-1 gst-plugins-good1.0 security update
Debian DSA Debian DSA DSA-5204-1 gst-plugins-good1.0 security update
EUVD EUVD EUVD-2022-25194 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.
Ubuntu USN Ubuntu USN USN-5555-1 GStreamer Good Plugins vulnerabilities
History
Type Values Removed Values Added
First Time appeared Gstreamer
Gstreamer gstreamer
CPEs cpe:2.3:a:gstreamer_project:gstreamer:*:*:*:*:*:*:*:* cpe:2.3:a:gstreamer:gstreamer:*:*:*:*:*:*:*:*
Vendors & Products Gstreamer Project
Gstreamer Project gstreamer
Gstreamer
Gstreamer gstreamer
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 12:17 AM
Reserved
May 27, 2022, 12:00 AM
Status
Modified
Published
Jul 19, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:23 AM
Severity
Moderate
Public date
May 18, 2022, 12:00 AM