# Security Advisory 2025-0001 (ZDI-CAN-26596, CVE-2025-3887)
| | | | ----------------- | ----------------------------------------- | | Summary | Stack buffer-overflow in H.265 codec parser during slice header parsing | | Date | 2025-04-24 18:00 | | Affected Versions | GStreamer gst-plugins-bad 1.x < 1.26.1 | | IDs | GStreamer-SA-2025-0001
ZDI-CAN-26596
CVE-2025-3887 |
## Details Stack buffer-overflow in H.265 codec parser when handling malformed streams before GStreamer 1.26.1. ## Impact It is possible for a malicious third party to trigger stack buffer-overflows that can result in a crash of the application. ## Solution The gst-plugins-bad 1.26.1 release addresses the issue. People using older branches of GStreamer should apply the patch and recompile. ## References ### The GStreamer project - [https://gstreamer.freedesktop.org](https://gstreamer.freedesktop.org) ### CVE Database Entries - [CVE-2025-3887](https://www.cve.org/CVERecord?id=CVE-2025-3887) ### GStreamer 1.26.1 release - [Release Notes](/releases/1.26/#1.26.1) - [GStreamer Plugins Bad 1.26.1](/src/gst-plugins-bad/gst-plugins-bad-1.26.1.tar.xz) ### Patches - [Patch](https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8884.patch)