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.
Published: 2026-07-06
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A double free flaw resides in the gf_isom_nalu_sample_rewrite routine of the GPAC MP4Box tool. Manipulation of the nalu_out_bs argument causes the routine to release the same memory block twice, corrupt corruption can trigger a crash or, under the right conditions, lead to unintended code execution, although the archived description does not confirm a remote code‑execution vector. The issue is categorized under the memory corruption weaknesses of CWE‑119 and the double‑free weakness of CWE‑415.

Affected Systems

Every build of the GPAC MP4Box utility up to and including the 2.5‑DEV release series incorporates the vulnerable source file. Users who run these versions and process media files that originate from untrusted or potentially malicious sources are exposed.

Risk and Exploitability

The CVSS score of 4.8 indicates a low overall severity, while the EPSS reading of less than 1% suggests exploitation is unlikely in the broader environment. Compromise requires local execution of MP4Box or a similar file, making the attack surface limited to the local host. The flaw is not listed in the CISA KEV catalog, but proof‑of‑concept exploits are publicly available, which increases the practical risk for an attacker who can reach the target system.

Generated by OpenCVE AI on July 26, 2026 at 20:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Acquire and apply the fix located at commit f29f955f2a3b5e8e507caad3e52319f961bf37bf to eliminate the double free in gf_isom_nalu_sample_rewrite.
  • Restrict execution of MP4Box to users with the least privilege necessary and avoid running it with elevated rights when handling untrusted media files.
  • If the patch cannot be deployed immediately, consider disabling the MP4Box sandboxed container or isolated virtual machine until the update is applied.

Generated by OpenCVE AI on July 26, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 12:00:00 +0000

Type Values Removed Values Added
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.
Title GPAC MP4Box avc_ext.c gf_isom_nalu_sample_rewrite double free
First Time appeared Gpac
Gpac gpac
Weaknesses CWE-119
CWE-415
CPEs cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*
Vendors & Products Gpac
Gpac gpac
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-06T18:50:01.768Z

Reserved: 2026-07-04T05:16:18.510Z

Link: CVE-2025-15667

cve-icon Vulnrichment

Updated: 2026-07-06T18:49:57.612Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T20:45:03Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-415

    Double Free