mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1966] [CLOSED] fix: Critical Teletext Decoder Vulnerabilities: Out-of-Bounds Read/Write and Loop Overflow #2763
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?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1966
Author: @THE-Amrit-mahto-05
Created: 1/2/2026
Status: ❌ Closed
Base:
master← Head:fix/teletext-critical-bugs📝 Commits (4)
5dc8292Fix out-of-bounds read in H.264 SEI parsing82109e6Fix DTVCC structural type confusion and OOB writes (#1961)3e1424cFix TS/ES: Integer overflow, stack overflow, heap over-readcc7a43b[FIX] Teletext decoder: fix OOB read/write and loop overflow (#1965)📊 Changes
5 files changed (+82 additions, -8 deletions)
View changed files
📝
src/lib_ccx/avc_functions.c(+8 -2)📝
src/lib_ccx/ccx_decoders_708.c(+38 -0)📝
src/lib_ccx/es_userdata.c(+6 -2)📝
src/lib_ccx/telxcc.c(+21 -4)📝
src/lib_ccx/ts_tables.c(+9 -0)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Description
Issues Fixed:
tlt_process_pes_packet: minimal size checks on PES header allowed truncated packets to trigger reads past buffer end.data_unit_lencausing a write past buffer end.uint16_twrap-around of the loop index.Fixes Implemented:
ifromuint16_t→uint32_tto avoid wrap-around.data_unit_lento prevent OOB writes.Impact:
Testing:
Issue Reference: #1965
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.