mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
Stack Buffer Overflow in ISDB-CC decoder parse_csi (ccx_decoders_isdb.c) #874
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @THE-Amrit-mahto-05 on GitHub (Jan 1, 2026).
Description
A stack buffer overflow exists in the ISDB-CC decoder.
Component: ISDB-CC decoder
File: src/lib_ccx/ccx_decoders_isdb.c
Function: parse_csi
Problem
The function
parse_csiuses a small stack bufferuint8_t arg[10]to store CSI command arguments.The original code had a dangerous off-by-one error:
This allows writing 11 bytes into a 10-byte buffer, causing a stack buffer overflow.
An attacker or malformed subtitle could crash the program or corrupt memory.
Proposed Fix
Impact