Stack-based Buffer Overflow Affecting gpac package, versions *


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-GPAC-15358590
  • published27 Feb 2026
  • disclosed26 Feb 2026

Introduced: 26 Feb 2026

CVE-2026-27821  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 gpac.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gpac package and not the gpac package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1