Description
GPAC MP4Box through 26.07.0 contains an out-of-bounds read vulnerability in avi_parse_input_file() in src/media_tools/avilib.c that increments track counters before checking AVI_MAX_TRACKS. Attackers can supply a crafted AVI file declaring a ninth audio stream, causing AVI_audio_format and AVI_close() to access track[8] and crash the process.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| gpac | gpac | <= 26.07.0 |
References
- https://github.com/gpac/gpac/blob/v26.07.0/src/media_tools/avilib.c#L1777-L1790
- https://github.com/gpac/gpac/blob/v26.07.0/src/media_tools/avilib.c#L2048-L2058
- https://github.com/gpac/gpac/commit/2a94e8935720ed36b9ebcf9db0c0a1fd888890a4
- https://github.com/gpac/gpac/issues/3901
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/214/214_AVI_close_media_tools_avilib_c_1782.avi
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-out-of-bounds-read-in-avilib-via-avi-audio-tracks
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred