GPAC through 26.07.0 Type Confusion via gf_sg_command_apply XMT Field-Replace
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 6, 2026
- Updated
- Nov 14, 2026
- Reserved
- Nov 6, 2026
Description
GPAC through 26.07.0 contains a type confusion vulnerability in gf_sg_command_apply() in src/scenegraph/commands.c that fails to verify BIFS field-replace command types match target node fields. Attackers can supply a crafted XMT file opened with MP4Box, such as via chapter import, causing gf_sg_vrml_field_clone() to memcpy from invalid pointers and crash.
| Product | Versions |
|---|---|
| gpac gpac | 26.07.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
References
- GitHub Issue #4032Issue Tracker
- https://github.com/gpac/gpacProduct Page
- https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1Patch
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/224/224_gf_sg_command_apply_scenegraph_commands_c_346.xmtExploit
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c#L321Technical Details
- VulnCheck Advisory: GPAC through 26.07.0 Type Confusion via gf_sg_command_apply XMT Field-ReplaceThird-Party Advisory
- http://www.openwall.com/lists/oss-security/2026/11/14/12
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.