{"id":"ALPINE-CVE-2022-1922","details":"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.","modified":"2026-11-03T07:30:12.297431807Z","published":"2022-07-19T20:15:10.907Z","upstream":["CVE-2022-1922"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-1922"}],"affected":[{"package":{"name":"gst-plugins-good","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/gst-plugins-good?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-1922.json"}},{"package":{"name":"gst-plugins-good","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/gst-plugins-good?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-1922.json"}},{"package":{"name":"gst-plugins-good","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/gst-plugins-good?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-1922.json"}},{"package":{"name":"gst-plugins-good","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/gst-plugins-good?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-1922.json"}},{"package":{"name":"gst-plugins-good","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/gst-plugins-good?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-1922.json"}},{"package":{"name":"gst-plugins-good","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/gst-plugins-good?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-1922.json"}},{"package":{"name":"gst-plugins-good","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/gst-plugins-good?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-1922.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}