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.
Severity (CVSS)
| Base score | 6.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-843 — Access of Resource Using Incompatible Type ('Type Confusion')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| gpac | gpac | 0 to <=26.07.0 [affected] |
References
- https://github.com/gpac/gpac/issues/4032 (issue-tracking)
- https://github.com/gpac/gpac (product)
- https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1 (patch)
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/224/224_gf_sg_command_apply_scenegraph_commands_c_346.xmt (exploit)
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c#L321 (technical-description)
- https://www.vulncheck.com/advisories/gpac-through-26.07.0-type-confusion-via-gf-sg-command-apply-xmt-field-replace (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 07 Nov 2026 08:06 UTC.