---
id: "CVE-2025-60492"
kind: "vulnerability"
aliases: ["CVE-2025-60492"]
title: "GPAC MP4Box: crafted MP4 file crashes the tool via stack overflow"
severity: "medium"
cvss: 5.5
epss: 0.00253
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["gpac", "media-processing", "mp4box", "package", "self-hosted"]
not_affected_if: ["gpac-2.5-or-later", "trusted-input-only"]
published_at: "2026-10-21T15:17:13+00:00"
first_seen_at: "2026-10-23T21:57:28+00:00"
updated_at: "2026-10-25T04:10:48+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-60492", "first_seen_at": "2026-10-23T21:57:28+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-60492", "first_seen_at": "2026-10-24T13:15:54+00:00"}]
---

# GPAC MP4Box: crafted MP4 file crashes the tool via stack overflow

MP4Box from GPAC before 2.5 has a stack overflow in its BIFS decoding function (gf_bifs_dec_node in /bifs/field_decode.c). A crafted MP4 file can crash the process, causing 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`
- unknown

## Fix

- Upgrade GPAC to `2.5` or later
- unknown

## Timeline

- 2026-10-23T21:57:28+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-60492
- 2026-10-24T13:15:54+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2025-60492

## From the sources

A stack overflow in the gf_bifs_dec_node function (/bifs/field_decode.c) of GPAC Project/MP4Box before 2.5 allows attackers to cause a Denial of Service (DoS) via supplying a crafted MP4 file.

---

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