Skip to main content

Stack-based Buffer Overflow

CVE-2026-27821

Severity High
Score 7.7/10

Summary

GPAC is an open-source multimedia framework. In versions through 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.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • HIGH

CWE-121 - Stack-based Buffer Overflow

A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

References

Advisory Timeline

  • Published