---
id: CVE-2025-60465
title: >-
  A use-after-free in the gf_filter_pid_inst_swap function
  (/filter_core/filter_pid.c) of GPAC Project/MP4Box before 26.02.0 allows
  attackers to cause a Denial of Service (DoS) via supplying a crafted media
  file.
summary: >-
  A use-after-free in the gf_filter_pid_inst_swap function
  (/filter_core/filter_pid.c) of GPAC Project/MP4Box before 26.02.0 allows
  attackers to cause a Denial of Service (DoS) via supplying a crafted media
  file.
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N'
cwe:
  - CWE-416
vendor: gpac
product: gpac
affected:
  - gpac < 26.02.0
patched:
  - gpac 26.02.0
published: '2026-06-25'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-60465'
references:
  - url: >-
      https://github.com/gpac/gpac/commit/55b351bd078c950592544ab4c708a613c1725b9b
    label: cve@mitre.org
  - url: 'https://github.com/gpac/gpac/issues/3283'
    label: cve@mitre.org
  - url: >-
      https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/34/34_gf_filter_pid_inst_swap_filter_core_filter_pid_c_633
    label: cve@mitre.org
  - url: 'https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/34/README.md'
    label: cve@mitre.org
  - url: 'https://infosec.exchange/@sigdevel/116778494176930561'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/06/27/1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/gpac/gpac/issues/3283'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00187
epssPercentile: 0.07607
ingestedAt: '2026-10-13T10:22:03.544Z'
---

## Overview

A use-after-free in the gf_filter_pid_inst_swap function (/filter_core/filter_pid.c) of GPAC Project/MP4Box before 26.02.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted media file.

## Affected

- `gpac < 26.02.0`

## Remediation

Upgrade past the affected range:

- `gpac 26.02.0`
