GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in extract_cc_from_data function within qtdemux.c. In the FOURCC_c708 case, the subtraction atom_length - 8 may result in an underflow if atom_length is less than 8. When that subtraction underflows, *cclen ends up being a large number, and then cclen is passed to g_memdup2 leading to an out-of-bounds (OOB) read. This vulnerability is fixed in 1.24.10.
The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
Link | Tags |
---|---|
https://securitylab.github.com/advisories/GHSL-2024-243_Gstreamer/ | third party advisory |
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8059.patch | patch |
https://gstreamer.freedesktop.org/security/sa-2024-0013.html | release notes |