Skip to content
OpenAdvisories
High · 7.7 CVE-2026-27821 EUVD-2026-8784

GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow

Published Feb 26, 2026 · Updated Feb 26, 2026 · Assigned by GitHub_M

Description

GPAC is an open-source multimedia framework. In versions up to and including 26.02.0, a stack buffer overflow occurs during NHML file parsing in `src/filters/dmx_nhml.c`. The value of the xmlHeaderEnd XML attribute is copied from att->value into szXmlHeaderEnd[1000] using strcpy() without any length validation. If the input exceeds 1000 bytes, it overwrites beyond the stack buffer boundary. Commit 9bd7137fded2db40de61a2cf3045812c8741ec52 patches the issue.

Affected products

VendorProductAffectedFixed
gpac gpac <= 26.02.0 —

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