{"id":"CVE-2022-1922","published":"2022-07-19T19:09:22Z","modified":"2024-08-03T00:17:00Z","title":"DOS / potential heap overwrite in mkv demuxing using zlib decompression","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00454,"percentile":0.40167,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00001.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2022/dsa-5204","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":8.03}]},"affectedVersions":[{"vendor":"n/a","product":"GStreamer","versions":["1.20.3"]}],"euvd":{"id":"EUVD-2022-25194","exploited":false,"provenance":"source"}}