Description
GPAC through 26.07.0 contains a heap buffer overflow vulnerability in stbl_AddCTS() that allows attackers to corrupt heap memory by supplying a crafted MP4 file whose ctts box covers fewer samples than stsz. Attackers can convince a user to import the file with MP4Box -add, causing an out-of-bounds GF_DttsEntry write that crashes the process for denial of service.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| gpac | gpac | <= 26.07.0 |
References
- https://github.com/gpac/gpac
- https://github.com/gpac/gpac/blob/v26.07.0/src/isomedia/stbl_write.c#L325-L345
- https://github.com/gpac/gpac/commit/28439dbfe389daac9be2d4280fc06d1a76667136
- https://github.com/gpac/gpac/issues/4077
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/230/230_stbl_AddCTS_isomedia_stbl_write_c_343.mp4
- https://www.vulncheck.com/advisories/gpac-through-26.07.0-heap-buffer-overflow-via-stbl-addcts
Timeline
- Published
- Dec 5, 2026
- Last modified
- Dec 5, 2026
- NVD status
- Deferred