{"id":"CVE-2022-1922","state":"PUBLISHED","title":"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,","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.","publishedAt":"2022-07-19T19:09:22.000Z","updatedAt":"2024-08-03T00:17:00.943Z","severity":null,"assigner":"redhat","products":["n/a GStreamer"],"affected":[{"vendor":"n/a","product":"GStreamer","versions":[{"version":"1.20.3","status":"affected"}]}],"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"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T19:49:29.138Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/1xxx/CVE-2022-1922.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-1922","state":"PUBLISHED","datePublished":"2022-07-19T19:09:22.000Z","dateUpdated":"2024-08-03T00:17:00.943Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-05-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"GStreamer","versions":[{"version":"1.20.3","status":"affected"}]}],"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","name":"[debian-lts-announce] 20220809 [SECURITY] [DLA 3069-1] gst-plugins-good1.0 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2022/dsa-5204","name":"DSA-5204","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-10T02:08:05.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2022-1922","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"GStreamer","version":{"version_data":[{"version_value":"1.20.3"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-122"}]}]},"references":{"reference_data":[{"name":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225","refsource":"MISC","url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225"},{"name":"[debian-lts-announce] 20220809 [SECURITY] [DLA 3069-1] gst-plugins-good1.0 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00001.html"},{"name":"DSA-5204","refsource":"DEBIAN","url":"https://www.debian.org/security/2022/dsa-5204"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1225","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00001.html","name":"[debian-lts-announce] 20220809 [SECURITY] [DLA 3069-1] gst-plugins-good1.0 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5204","name":"DSA-5204","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T00:17:00.943Z"}}]}}}