---
id: "CVE-2025-71471"
page: "https://infrastack.ai/live/CVE-2025-71471"
kind: "vulnerability"
aliases: ["CVE-2025-71471"]
title: "GPAC: uninitialized memory in MP4 sample table lets crafted files crash MP4Box"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["gpac", "media-processing", "mp4box", "package"]
not_affected_if: ["gpac-not-installed", "trusted-input-only"]
published_at: "2026-11-16T22:18:12+00:00"
first_seen_at: "2026-11-16T22:39:12+00:00"
updated_at: "2026-11-16T22:40:56+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-71471", "first_seen_at": "2026-11-16T22:39:12+00:00"}]
exploit_sources: []
---

# GPAC: uninitialized memory in MP4 sample table lets crafted files crash MP4Box

Link for people: https://infrastack.ai/live/CVE-2025-71471 (this .md is for agents)

GPAC's stbl_AddCTS() function uses uninitialized memory when importing MP4 files with out-of-order composition time offsets. A crafted MP4 can corrupt sample table data and crash the process during MP4Box import.

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

## How to check

- Check the installed GPAC version with `MP4Box -version` and compare it against the fixed release.
- Find out whether any pipeline or service runs MP4Box on untrusted uploaded MP4 files.

## Fix

- GPAC: move to `26.02.0` or later.

## Timeline

- 2026-11-16T22:39:12+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2025-71471

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/gpac-before-26.02.0-uninitialized-memory-use-in-stbl-addcts
- [fix] Patch: github.com https://github.com/gpac/gpac/commit/a8c83bd36ca074b81c39ae5ccc0c8580d098072a
- [fix] Release notes: github.com https://github.com/gpac/gpac/releases/tag/v26.02.0

## From the sources

GPAC before 26.02.0 contains a use of uninitialized memory vulnerability in stbl_AddCTS() that allows attackers to corrupt sample table data via crafted MP4 files. Attackers can supply an MP4 with out-of-order composition time offsets for MP4Box import, triggering invalid memory access in gf_list_get() and crashing the process.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
