GPAC MP4Box through 26.07.0 Heap Buffer Over-read via Text fontStyle Type Confusion
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| gpac gpac | 26.07.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
- https://github.com/gpac/gpac/issues/3883Issue Tracker
- https://github.com/gpac/gpac/commit/19f828998b1dc5fd63fbdf4e894e469d79c963b7Patch
- https://github.com/gpac/gpac/blob/v26.07.0/src/compositor/mpeg4_text.c#L210-L217Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/211/211_build_text_compositor_mpeg4_text_c_217Exploit
- VulnCheck Advisory: GPAC MP4Box through 26.07.0 Heap Buffer Over-read via Text fontStyle Type ConfusionThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.