{"id":"CVE-2025-15667","summary":"GPAC MP4Box avc_ext.c gf_isom_nalu_sample_rewrite double free","details":"A vulnerability was determined in GPAC up to 2.5-DEV. This vulnerability affects the function gf_isom_nalu_sample_rewrite of the file src/isomedia/avc_ext.c of the component MP4Box. This manipulation of the argument nalu_out_bs causes double free. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. Patch name: f29f955f2a3b5e8e507caad3e52319f961bf37bf. To fix this issue, it is recommended to deploy a patch.","modified":"2026-08-12T14:52:28.795763Z","published":"2026-07-06T11:15:08.893Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-119","CWE-415"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15667.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.5-DEV"},{"last_affected":"2.5-DEV"}]}]},"references":[{"type":"WEB","url":"https://github.com/gpac/gpac/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15667.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15667"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2025-15667"},{"type":"ADVISORY","url":"https://vuldb.com/submit/846839"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/376292"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3403"},{"type":"REPORT","url":"https://vuldb.com/vuln/376292/cti"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/f29f955f2a3b5e8e507caad3e52319f961bf37bf"},{"type":"EVIDENCE","url":"https://github.com/TimChan2001/pocs/raw/refs/heads/main/poc-gpac-1"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"fixed":"f29f955f2a3b5e8e507caad3e52319f961bf37bf"}],"database_specific":{"source":"REFERENCES"}}],"versions":["abi-13.0","abi-13","abi-12.27","abi-12.26","abi-12.25","abi-12.24","abi-12.23","abi-12.22","abi-12.21","abi-12.20","abi-12.19","abi-12.18","abi-12.17","abi-12.16","abi-12","testtag0.1","v2.2.0","v2.0.0","v1.0.0","v0.9.0","v0.9.0-preview","v0.6.0","v0.5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15667.json","vanir_signatures_modified":"2026-08-12T14:52:28Z","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"129067690988058699157575606452399646472","length":1239},"id":"CVE-2025-15667-cc4778a8","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/f29f955f2a3b5e8e507caad3e52319f961bf37bf","target":{"file":"src/isomedia/box_code_base.c","function":"sgpd_del_entry"}},{"deprecated":false,"digest":{"line_hashes":["262007496686185893720648064013500846942","27753409557248353458459677581086461513","229811521048158137593256894815118330857","140328879052536668385729807330563239281"],"threshold":0.9},"id":"CVE-2025-15667-ce158ecb","signature_type":"Line","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/f29f955f2a3b5e8e507caad3e52319f961bf37bf","target":{"file":"src/isomedia/box_code_base.c"}},{"deprecated":false,"digest":{"length":13788,"function_hash":"339252933352634881394757964469972119315"},"id":"CVE-2025-15667-d1460444","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/f29f955f2a3b5e8e507caad3e52319f961bf37bf","target":{"file":"src/isomedia/avc_ext.c","function":"gf_isom_nalu_sample_rewrite"}},{"id":"CVE-2025-15667-d3ae9dbf","signature_type":"Line","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/f29f955f2a3b5e8e507caad3e52319f961bf37bf","target":{"file":"src/isomedia/avc_ext.c"},"deprecated":false,"digest":{"line_hashes":["334047503270733182863224688911913477926","78553545245786605548197931512013542130","148983692273964010015876554924893397653"],"threshold":0.9}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}]}