{"id":"CVE-2026-27821","aliases":["DEBIAN-CVE-2026-27821","EUVD-2026-8784","GHSA-q7qh-8r2r-q559","UBUNTU-CVE-2026-27821"],"status":"published","title":"GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow","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-\u003evalue 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.","severity":{"version":"4.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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00324,"percentile":0.25767,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-121"],"published":"2026-02-26T00:08:39Z","modified":"2026-10-28T11:10:02Z","affected":[{"source":"osv","ecosystem":"Debian:11","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1+dfsg1-4","1.0.1+dfsg1-4+deb11u1","1.0.1+dfsg1-4+deb11u2","1.0.1+dfsg1-4+deb11u3","1.0.1+dfsg1-5","2.0.0+dfsg1-1","2.0.0+dfsg1-2","2.0.0+dfsg1-4","2.2.1+dfsg1-1","2.2.1+dfsg1-2","2.2.1+dfsg1-3","2.2.1+dfsg1-3.1","2.2.1+dfsg1-3.1~exp1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0+svn4288~dfsg1-1ubuntu1","0.5.0+svn4288~dfsg1-4","0.5.0+svn4288~dfsg1-4ubuntu1","0.5.0+svn4288~dfsg1-4ubuntu1+esm1","0.5.0+svn4288~dfsg1-4ubuntu1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-1build1","0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1","0.5.2-426-gc5ad4e4+dfsg5-1ubuntu0.1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-3","0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1","0.5.2-426-gc5ad4e4+dfsg5-3ubuntu0.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-426-gc5ad4e4+dfsg5-4ubuntu1","0.5.2-426-gc5ad4e4+dfsg5-5","0.5.2-426-gc5ad4e4+dfsg5-5ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1+dfsg1-4","1.0.1+dfsg1-5","2.0.0+dfsg1-2","2.0.0+dfsg1-2ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"gpac","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg1-3","2.2.1+dfsg1-3.1","2.2.1+dfsg1-3.1build1","2.2.1+dfsg1-3.1build2","2.2.1+dfsg1-3.1ubuntu0.1~esm2"]}],"products":[{"vendor":"gpac","product":"gpac"}],"references":[{"url":"https://github.com/gpac/gpac/security/advisories/GHSA-q7qh-8r2r-q559","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","report"]},{"url":"https://github.com/gpac/gpac/commit/9bd7137fded2db40de61a2cf3045812c8741ec52","tags":["x_refsource_MISC","Patch","fix","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27821.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27821","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-27821","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-27821","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-27821","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-27821","title":"GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow","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-\u003evalue 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.","status":"published","published":"2026-02-26T00:08:39.924Z","modified":"2026-02-26T15:15:39.671Z","cvss":[{"version":"4.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","level":"high","assessor":"cna"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:19:48.826324Z"}],"euvd":[{"id":"EUVD-2026-8784","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-\u003evalue 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.","status":"published","published":"2026-02-26T00:08:39Z","modified":"2026-02-26T15:15:39Z","cvss":[{"version":"4.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","level":"high"}],"updated_at":"2026-11-02T19:48:26.495238Z"}],"nvd":[{"id":"CVE-2026-27821","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-\u003evalue 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.","status":"published","published":"2026-02-26T00:16:26.813Z","modified":"2026-06-17T10:27:44.52Z","cvss":[{"version":"4.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:12:07.027269Z"}],"osv":[{"id":"CVE-2026-27821","title":"GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow","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-\u003evalue 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.","status":"published","published":"2026-02-26T00:08:39.924Z","modified":"2026-10-28T11:10:02.942106887Z","cvss":[{"version":"4.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","level":"high"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T15:45:00.180685Z"},{"id":"DEBIAN-CVE-2026-27821","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-\u003evalue 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.","status":"published","published":"2026-02-26T00:16:26.813Z","modified":"2026-08-27T23:06:12.853977622Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:53.877573Z"},{"id":"UBUNTU-CVE-2026-27821","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-\u003evalue 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.","status":"published","published":"2026-02-26T00:16:00Z","modified":"2026-04-22T16:27:38.933897Z","cvss":[{"version":"4.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","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:08.726452Z"}]}}
