Description
GPAC MP4Box before 26.07.0 contains a divide by zero vulnerability in DumpTrackInfo() in applications/mp4box/filedump.c that fails to check the media timescale for zero. Attackers can supply a crafted MP4 file with a zero media timescale to make MP4Box -infon raise SIGFPE and crash, causing denial of service.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
gpac gpac
Default version status: unaffected
0 to < 26.07.0affected
pkg:github/gpac/gpacReferences
- https://github.com/gpac/gpac/issues/3661 ↗
- https://github.com/gpac/gpac/commit/6f54ff86b2fdc045d6a683b93f9ced8928d8b35c ↗
- https://github.com/gpac/gpac/releases/tag/v26.07.0 ↗
- https://github.com/gpac/gpac/blob/v26.02.0/applications/mp4box/filedump.c#L4030-L4040 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/102/102_DumpTrackInfo_applications_mp4box_filedump_c_4038 ↗
- https://www.vulncheck.com/advisories/gpac-mp4box-before-26.07.0-divide-by-zero-in-dumptrackinfo ↗