CVE-2026-27821: GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow
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/dmxnhml.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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-27821?
CVE-2026-27821 is classified as a high severity vulnerability due to the potential for a stack buffer overflow.
How do I fix CVE-2026-27821?
To fix CVE-2026-27821, update GPAC to version 26.02.1 or later where this vulnerability is addressed.
What causes the CVE-2026-27821 vulnerability?
CVE-2026-27821 is caused by a stack buffer overflow during NHML file parsing in GPAC's DMX filter.
Which versions of GPAC are affected by CVE-2026-27821?
GPAC versions up to and including 26.02.0 are affected by CVE-2026-27821.
What impact does CVE-2026-27821 have on systems?
CVE-2026-27821 can lead to remote code execution or application crashes, compromising system security.