CVE-2024-47538
A stack-buffer overflow has been detected in the `vorbis_handle_identification_packet` function within `gstvorbisdec.c`.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.27%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
GStreamer is a library for constructing graphs of media-handling components. A stack-buffer overflow has been detected in the `vorbis_handle_identification_packet` function within `gstvorbisdec.c`. The position array is a stack-allocated buffer of size 64. If vd->vi.channels exceeds 64, the for loop will write beyond the boundaries of the position array. The value written will always be `GST_AUDIO_CHANNEL_POSITION_NONE`. This vulnerability allows someone to overwrite the EIP address allocated in the stack. Additionally, this bug can overwrite the `GstAudioInfo` info structure. This vulnerability is fixed in 1.24.10.
- CVSS 4.0
- 8.6 HIGHCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 1.27% probability · 68th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-121, CWE-787
- Affected
- gstreamer/gstreamer
- Source
- security-advisories@github.com
References
- https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8035.patchPatch
- https://gstreamer.freedesktop.org/security/sa-2024-0022.htmlRelease Notes
- https://securitylab.github.com/advisories/GHSL-2024-115_GHSL-2024-118_Gstreamer/Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/12/msg00021.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.