← Vulnerability feed

Vulnerability record · CVE-2026-27821 · published 26 February 2026

CVE-2026-27821: Gpac stack-based buffer overflow vulnerability

Gpac · Gpac

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.

7.7 CVSS 4.0 High EPSS 0.40% · top 68.0% CWE-121 · Stack-based buffer overflow
7.7CVSS 4.0 base score
0.40%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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.

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-27821 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-46427Gpac null pointer dereference vulnerabilityAn issue was discovered in gpac version 2.3-DEV-rev588-g7edc40fee-master, allows remote attackers to execute arbitrary code, cause a denial of servic…EPSS 1.1%9.8CVE-2024-0321Gpac stack-based buffer overflow vulnerabilityStack-based Buffer Overflow in GitHub repository gpac/gpac prior to 2.3-DEV.EPSS 1.0%9.8CVE-2023-46932Gpac out-of-bounds write vulnerabilityHeap Buffer Overflow vulnerability in GPAC version 2.3-DEV-rev617-g671976fcc-master, allows attackers to execute arbitrary code and cause a denial of…EPSS 1.1%9.8CVE-2023-2840Gpac null pointer dereference vulnerabilityNULL Pointer Dereference in GitHub repository gpac/gpac prior to 2.2.2.EPSS 0.65%9.8CVE-2022-36190Gpac use after free vulnerabilityGPAC mp4box 2.1-DEV-revUNKNOWN-master has a use-after-free vulnerability in function gf_isom_dovi_config_get. This vulnerability was fixed in commit …EPSS 1.1%9.8CVE-2022-1795Gpac use after free vulnerabilityUse After Free in GitHub repository gpac/gpac prior to v2.1.0-DEV.EPSS 1.0%9.8CVE-2021-28300Gpac null pointer dereference vulnerabilityNULL Pointer Dereference in the "isomedia/track.c" module's "MergeTrack()" function of GPAC v0.5.2 allows attackers to execute arbitrary code or caus…EPSS 2.1%9.8CVE-2020-11558Gpac use after free vulnerabilityAn issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. audio_sample_entry_Read in isomedia/box_code_base.c does not properly …EPSS 1.5%

Source: NIST National Vulnerability Database (record CVE-2026-27821), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.