ZDI-CAN-28854: ZDI-26-168: GStreamer RIFF Palette Integer 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 handling of palette data in AVI files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process.
Other sources
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 ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-2921.
— ZDI
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Because interaction with GStreamer is required to exploit the vulnerability, limit exposure by restricting which untrusted/remote AVI (RIFF palette) files are processed by affected GStreamer deployments (e.g., block or quarantine uploads/downloads from untrusted sources before they reach GStreamer).
- Compensating control
If possible for your environment, isolate the GStreamer processing component (e.g., run the service/container with minimal privileges) to reduce impact of potential remote code execution triggered via crafted AVI RIFF palette data.
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-28854?
ZDI-CAN-28854 is classified as a remote code execution vulnerability which poses a high severity risk.
How do I fix ZDI-CAN-28854?
To fix ZDI-CAN-28854, update to the latest version of GStreamer where the vulnerability has been addressed.
What types of attacks can exploit ZDI-CAN-28854?
ZDI-CAN-28854 can be exploited through specially crafted RIFF files that trigger the integer overflow.
Which versions of GStreamer are affected by ZDI-CAN-28854?
ZDI-CAN-28854 affects multiple versions of the GStreamer library prior to the fix implementation.
What should I do if I am vulnerable to ZDI-CAN-28854?
If vulnerable to ZDI-CAN-28854, it is crucial to apply the recommended updates immediately to mitigate risks.