Intel

AIKIDO-2026-996954

gpac.gpac is vulnerable to Out-of-bounds Read

Out-of-bounds ReadGHSA-76gw-pgvh-hvq5 Published Yesterday

47

Medium Risk

This Affects:

C++gpac.gpac
1.0.0 - 26.02.0
Fixed in 26.07.0
Are you affected? Scan for Free

TL;DR

GPAC's MP4Box imports DIMS samples from NHML files in nhmldmx_send_sample within filters/dmx_nhml.c. When a sample specifies a negative dataLength, the allocated sample buffer is left without a terminating null byte and a subsequent strstr scan runs far past the end of the buffer. A crafted NHML file thus causes a large heap out-of-bounds read that can crash the tool or disclose adjacent heap memory. The fix bounds the sample length and terminates the buffer before scanning.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you import an untrusted NHML file that carries DIMS samples.

Background info

gpac.gpac is vulnerable to Out-of-bounds Read in versions 1.0.0 - 26.02.0.

How to fix this

Upgrade the gpac.gpac and/or the gpac library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform