# CVE-2021-30019: In the adtsdmxprocess function in filters/reframeadts.c in GPAC 1.0.1, a crafted file may cause ctx-hdr.framesize to be smaller than ctx-hd…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-19T19:34:08.000Z
- Modified: 2026-06-17T03:49:36.643Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gpac gpac: 1.0.1

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/gpac/gpac/issues/1723> (exploit, third-party-advisory)
- <https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-30019](https://www.cve.org/CVERecord?id=CVE-2021-30019), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-30019](https://nvd.nist.gov/vuln/detail/CVE-2021-30019), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-30019 · Whole record: https://cve.day/CVE-2021-30019.json · Rebuilt by cve.day 2026-11-25T22:58:00.861Z
