Files
FFmpeg/libavformat
Ted Meyer 86f53f9ffb avformat/mov: do not allocate out-of-range buffers
There's a possibility here with a well-crafted MP4 file containing only
the nested boxes in order: MOOV.TRAK.MDIA.MINF.STBL.SDTP where the
header size uses the 64 bit large size, and the ending stdp box has some
size value >= 0x100000014.

On a 32 bit build of ffmpeg, av_malloc's size parameter drops the high
order bits of `entries`, and and the allocation is now a controlled size
that is significantly smaller than `entries`. The following loop will
then write off the ended of allocated memory with data that follows the
box fourcc.
2026-03-13 21:53:12 +01:00
..
2025-08-03 13:48:47 +02:00
2026-03-10 13:52:18 +01:00
2025-09-08 20:59:31 +00:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-02-19 17:18:11 +01:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-06-23 17:19:18 +10:00
2026-02-25 02:55:43 +00:00
2025-08-03 13:48:47 +02:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2026-02-18 08:20:10 +00:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00
2025-08-04 03:59:42 +00:00
2025-08-03 13:48:47 +02:00
2026-02-23 20:20:20 +01:00
2025-11-09 13:44:18 +01:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2025-10-25 19:22:48 +00:00
2026-03-10 13:52:18 +01:00
2026-02-09 14:01:14 +00:00
2026-02-23 20:20:20 +01:00
2025-08-03 13:48:47 +02:00
2026-03-10 13:52:18 +01:00
2025-06-23 17:19:18 +10:00
2026-02-08 02:25:14 +01:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2026-03-10 13:52:18 +01:00
2025-09-19 09:59:26 +02:00
2025-08-03 13:48:47 +02:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00
2026-02-25 02:55:43 +00:00
2026-03-10 13:52:18 +01:00
2025-08-03 13:48:47 +02:00