---
id: "CVE-2025-60475"
kind: "vulnerability"
aliases: ["CVE-2025-60475"]
title: "GPAC MP4Box: crafted media file overflows AC-4 parser, crashes it"
severity: "medium"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["gpac", "media-processing", "mp4box", "package", "self-hosted"]
not_affected_if: ["no-mp4box-install", "trusted-input-only"]
published_at: "2026-10-20T22:17:42+00:00"
first_seen_at: "2026-10-23T21:57:21+00:00"
updated_at: "2026-10-25T05:04:16+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-60475", "first_seen_at": "2026-10-23T21:57:21+00:00"}]
---

# GPAC MP4Box: crafted media file overflows AC-4 parser, crashes it

GPAC's MP4Box tool has a buffer overflow in its AC-4 audio parser (gf_ac4_parser_bs in media_tools/av_parsers.c) in versions before 2.5. A crafted input file can trigger it to cause a denial of service.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `MP4Box -version` and compare against `2.5`
- Check whether MP4Box runs on untrusted media files in your pipeline

## Fix

- Upgrade GPAC/MP4Box to `2.5` or later
- unknown for a specific patch commit or workaround

## Timeline

- 2026-10-23T21:57:21+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-60475

## From the sources

A buffer overflow in the gf_ac4_parser_bs function (/media_tools/av_parsers.c) of GPAC Project/MP4Box before 2.5 allows attackers to cause a Denial of Service (DoS) via supplying a crafted input.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
