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.
History

Thu, 26 Feb 2026 00:15:00 +0000

Type Values Removed Values Added
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.
Title GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow
Weaknesses CWE-121
References
Metrics cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-02-26T00:08:39.924Z

Reserved: 2026-02-24T02:32:39.799Z

Link: CVE-2026-27821

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-02-26T00:16:26.813

Modified: 2026-02-26T00:16:26.813

Link: CVE-2026-27821

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.