Stack-based buffer overflow in GPAC - CVE-2026-27821

 

Stack-based buffer overflow in GPAC - CVE-2026-27821

Published: November 25, 2026


Vulnerability identifier: #VU170299
CSH Severity: Medium
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-27821
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service or potentially execute arbitrary code.

The vulnerability exists due to a stack-based buffer overflow in the GPAC NHML demuxer when it copies an XML attribute into a fixed-size stack buffer without checking its length. A remote attacker can trick a victim into opening a crafted NHML file to crash GPAC or potentially execute code if stack canaries are absent.


Affected software

GPAC

How to mitigate CVE-2026-27821

Install security update from vendor's website.

GPAC - update to 26.02.0

External References