Skip to content
OpenAdvisories
Medium · 5.8 CVE-2026-33144 EUVD-2026-13782

GPAC MP4Box Heap Buffer Overflow Write in gf_xml_parse_bit_sequence_bs (NHML BS Parsing)

Published Mar 20, 2026 · Updated Mar 20, 2026 · Assigned by GitHub_M

Description

GPAC is an open-source multimedia framework. Prior to commit 86b0e36, a heap-based buffer overflow (write) vulnerability was discovered in GPAC MP4Box. The vulnerability exists in the gf_xml_parse_bit_sequence_bs function in utils/xml_bin_custom.c when processing a crafted NHML file containing malicious <BS> (BitSequence) elements. An attacker can exploit this by providing a specially crafted NHML file, causing an out-of-bounds write on the heap. This issue has been via commit 86b0e36.

Affected products

VendorProductAffectedFixed
gpac gpac < 86b0e36ea4c71402fbdaf7e13d73ba8841003e72 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 gpac No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gpac No fix yet —
Ubuntu Pro 22.04 LTS gpac No fix yet —
Ubuntu Pro 20.04 LTS gpac No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gpac No fix yet —
Ubuntu Pro 16.04 LTS gpac No fix yet —
Ubuntu Pro 14.04 LTS gpac No fix yet —

References