CVEvulnerability
CVE-2021-30022
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2021-04-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-190
Description
There is a integer overflow in media_tools/av_parsers.c in the gf_avc_read_pps_bs_internal in GPAC from 0.5.2 to 1.0.1. pps_id may be a negative number, so it will not return. However, avc->pps only has 255 unit, so there is an overflow, which results a crash.
Affected configurations
• gpac gpac (>= 0.5.2 <= 1.0.1)
Related
Weakness · CWE (1)
- CWE-190 Integer Overflow or Wraparound weakness
References
- https://github.com/gpac/gpac/blob/v0.5.2/src/media_tools/av_parsers.c#L2344 Product
- https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788 Patch, Third Party Advisory
- https://github.com/gpac/gpac/issues/1720 Exploit, Third Party Advisory
- https://github.com/gpac/gpac/commit/51cdb67ff7c5f1242ac58c5aa603ceaf1793b788 Patch, Third Party Advisory
- https://github.com/gpac/gpac/issues/1720 Exploit, Third Party Advisory