CVE-2025-15667 GPAC MP4Box avc_ext.c gf_isom_nalu_sample_rewrite double free

Medium 4.8 Published Updated

A double free vulnerability in GPAC's MP4Box allows local attackers to cause denial of service or potentially execute code via crafted media files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-15667?

CVE-2025-15667 is a medium-severity use after free vulnerability in GPAC, published on 6 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-415, CWE-119

Which versions are affected by CVE-2025-15667?

How do I fix CVE-2025-15667?

No fix has been published for CVE-2025-15667 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-15667 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15667 exists.

Sources

Also known as DEBIAN-CVE-2025-15667, GHSA-r4c4-62x2-m3ww, UBUNTU-CVE-2025-15667.

Is CVE-2025-15667 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free