CVE-2025-3887
Reported by zdi · Published May 22, 2025
GStreamer H265 Codec Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the parsing of H265 slice headers. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-26596.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gst-plugins-bad | Alpine | 1.26.1-r0 |
| gstreamer | gstreamer | 1.26.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GStreamer | GStreamer | 2e8b542145c1b11f8b8d927f6c679fd8028ceb60 |
| alpine | gst-plugins-bad | 0 |
| GStreamer | GStreamer | 2e8b542145c1b11f8b8d927f6c679fd8028ceb60 |
Timeline
- Apr 24, 2025 CVE Published
- May 22, 2025 EPSS Score (30 in total, the first dated here)
- Jun 14, 2025 Coalition ESS Score (14 in total, the first dated here)
- Jun 2, 2026 Security Advisory (18 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-3887
vulnetix vdb fixes CVE-2025-3887
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-3887/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- ZDI-25-267 x_research-advisory
- https://lists.debian.org/debian-lts-announce/2025/06/msg00017.html advisory