CVE-2026-27821

GPAC NHML Demuxer (dmx_nhml.c) Vulnerable to Stack Buffer Overflow

State
Published
Severity
7.7 High
Published
Feb 26, 2026
Updated
Feb 26, 2026
Reserved
Feb 24, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.7 HighCVSS: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:PGitHub_M

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
gpacgpac
  • <= 26.02.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.