# CVE-2026-128240: GPAC through 26.07.0 Use-After-Free in gf_sg_proto_del During Scene Teardown

- Severity: Medium 6.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-11-13T09:33:46.903Z
- Modified: 2026-11-17T20:17:42.997Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

GPAC through 26.07.0 contains a use-after-free vulnerability in gf_sg_proto_del() in src/scenegraph/vrml_proto.c because gf_sg_reset() frees unregistered prototypes still referenced by scene commands. Attackers can supply a crafted XMT/BT scene declaring prototypes via commands, processed by MP4Box -chap, to trigger freed memory access and crash the process.

(As written by CVE List.)

## Affected

- gpac gpac: up to 26.07.0

## Every score

- VulnCheck: CVSS:4.0 6.8 Medium `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gpac/gpac/issues/4031> (exploit, issue-tracking)
- <https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/223/223_gf_sg_proto_del_scenegraph_vrml_proto_c.xmt> (exploit)
- <https://github.com/gpac/gpac/commit/a2e5c62c213b5329a4572fe8e7c333e1ca26d028> (patch)
- <https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_proto.c#L103-L111> (technical-description)
- <https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L537-L542> (technical-description)
- <https://github.com/gpac/gpac> (product)
- <https://www.vulncheck.com/advisories/gpac-through-26.07.0-use-after-free-in-gf-sg-proto-del-during-scene-teardown> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2026/11/14/14>

## Sources

- CVE List: [CVE-2026-128240](https://www.cve.org/CVERecord?id=CVE-2026-128240), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-128240](https://nvd.nist.gov/vuln/detail/CVE-2026-128240), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-128240 · Whole record: https://cve.day/CVE-2026-128240.json · Rebuilt by cve.day 2026-11-25T22:59:50.693Z
