mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
Critical Teletext Decoder Vulnerabilities: Out-of-Bounds Read/Write and Loop Overflow #887
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 2, 2026).
I have discovered a cluster of critical and previously unreported vulnerabilities in CCExtractor's Teletext decoder (telxcc.c).
Vulnerabilities Identified:
Out-of-Bounds Reads in tlt_process_pes_packet
Out-of-Bounds Write in payload reversal loop
data_unit_lencan exceed remaining PES packet size.Potential Infinite Loop / Loop Counter Overflow
iwas declared asuint16_tand can wrap-around for large PES packets.Affected Files/Functions:
telxcc.c→tlt_process_pes_packetProposed Fixes (ready to implement in a PR):
data_unit_lendoes not exceed remaining packet length.itouint32_tto prevent wrap-around.Impact if Unpatched:
@cfsmp3 commented on GitHub (Jan 2, 2026):
This is not critical unless you provide an example file that shows the problem (fine if you create it yourself, but it must hit the code path that shows the problem).
I'm going to close all these small issues with theoretical problems - they add a lot of overhead to my workload.