Description
A stack buffer overflow flaw was found in the GStreamer H.265 codec parser library (gst-plugins-bad). When parsing a buffering period SEI message, the parser uses an incorrect loop bound derived from cpb_cnt_minus1[i] (the loop index) instead of the sub-layer 0 CPB count cpb_cnt_minus1[0] from the referenced Sequence Parameter Set. A crafted H.265 video file or stream can cause the parser to write beyond the bounds of stack-allocated CPB delay arrays, resulting in a crash or potential stack memory corruption.
Problem types
Product status
Timeline
| 2026-04-16: | Reported to Red Hat. |
| 2026-06-10: | Made public. |
Credits
Red Hat would like to thank Tianshuo Han for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-53702
bugzilla.redhat.com/show_bug.cgi?id=2487612 (RHBZ#2487612)