{"id":"CVE-2026-27821","state":"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->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.","publishedAt":"2026-02-26T00:08:39.924Z","updatedAt":"2026-02-26T15:15:39.671Z","severity":{"score":7.7,"label":"High","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["gpac gpac"],"affected":[{"vendor":"gpac","product":"gpac","versions":[{"version":"<= 26.02.0","status":"affected"}]}],"references":["https://github.com/gpac/gpac/security/advisories/GHSA-q7qh-8r2r-q559","https://github.com/gpac/gpac/commit/9bd7137fded2db40de61a2cf3045812c8741ec52"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27821.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27821","state":"PUBLISHED","datePublished":"2026-02-26T00:08:39.924Z","dateUpdated":"2026-02-26T15:15:39.671Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-24T02:32:39.799Z"},"containers":{"cna":{"title":"GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow","descriptions":[{"lang":"en","value":"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":[{"vendor":"gpac","product":"gpac","versions":[{"version":"<= 26.02.0","status":"affected"}]}],"references":[{"url":"https://github.com/gpac/gpac/security/advisories/GHSA-q7qh-8r2r-q559","name":"https://github.com/gpac/gpac/security/advisories/GHSA-q7qh-8r2r-q559","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gpac/gpac/commit/9bd7137fded2db40de61a2cf3045812c8741ec52","name":"https://github.com/gpac/gpac/commit/9bd7137fded2db40de61a2cf3045812c8741ec52","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-26T00:08:39.924Z"},"source":{"advisory":"GHSA-q7qh-8r2r-q559","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/gpac/gpac/security/advisories/GHSA-q7qh-8r2r-q559","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-26T15:15:32.913889Z","id":"CVE-2026-27821","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T15:15:39.671Z"}}]}}}