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.
References
| Link | Resource |
|---|---|
| https://github.com/gpac/gpac/commit/9bd7137fded2db40de61a2cf3045812c8741ec52 | Patch |
| https://github.com/gpac/gpac/security/advisories/GHSA-q7qh-8r2r-q559 | Exploit Vendor Advisory |
| https://github.com/gpac/gpac/security/advisories/GHSA-q7qh-8r2r-q559 | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-02-26 00:16
Updated : 2026-03-11 23:23
NVD link : CVE-2026-27821
Mitre link : CVE-2026-27821
CVE.ORG link : CVE-2026-27821
JSON object : View
Products Affected
gpac
- gpac
CWE
CWE-121
Stack-based Buffer Overflow
