---
id: CVE-2025-70116
title: >-
  A NULL pointer dereference in GPAC MP4Box: when parsing certain truncated MP4
  files, an unknown/invalid stsd entry can result in missing descriptor fields
  (e.g., codec/mime/profile strings)
summary: >-
  A NULL pointer dereference in GPAC MP4Box: when parsing certain truncated MP4
  files, an unknown/invalid stsd entry can result in missing descriptor fields
  (e.g., codec/mime/profile strings). gf_media_map_esd then calls strlen() on a
  NULL…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-476
published: '2026-05-27'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T16:10:00.443'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-70116'
references:
  - url: 'https://github.com/gpac/gpac/issues/3345'
    label: cve@mitre.org
  - url: >-
      https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/68/68_gf_media_map_esd_media_tools_isom_tools_c_1364
    label: cve@mitre.org
  - url: 'https://infosec.exchange/@sigdevel/116624563750949972'
    label: cve@mitre.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/05/30/2'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/gpac/gpac/issues/3345'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00407
epssPercentile: 0.32713
ingestedAt: '2026-10-05T16:25:58.371Z'
---

## Overview

A NULL pointer dereference in GPAC MP4Box: when parsing certain truncated MP4 files, an unknown/invalid stsd entry can result in missing descriptor fields (e.g., codec/mime/profile strings). gf_media_map_esd then calls strlen() on a NULL pointer, triggering a crash (ASan SEGV).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
