Description
GPAC MP4Box through 26.07.0 contains a type confusion vulnerability in src/compositor/mpeg4_text.c that allows heap out-of-bounds reads by casting a Text node's fontStyle field to M_FontStyle unchecked. Attackers can craft an XMT/BIFS scene placing a smaller node like Face in fontStyle, causing build_text to read past the allocation and crash MP4Box.
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/compositor/mpeg4_text.c#L210-L217
- https://github.com/gpac/gpac/commit/19f828998b1dc5fd63fbdf4e894e469d79c963b7
- https://github.com/gpac/gpac/issues/3883
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/211/211_build_text_compositor_mpeg4_text_c_217
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-heap-buffer-over-read-via-text-fontstyle-type-confusion
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred