CVE-2021-30022

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gpac:gpac:1.0.1:*:*:*:*:*:*:*

History

05 Mar 2025, 23:15

Type Values Removed Values Added
Summary (en) There is a integer overflow in media_tools/av_parsers.c in the gf_avc_read_pps_bs_internal in GPAC 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. (en) 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.
References
  • () https://github.com/gpac/gpac/blob/v0.5.2/src/media_tools/av_parsers.c#L2344 -

Information

Published : 2021-04-19 20:15

Updated : 2025-03-05 23:15


NVD link : CVE-2021-30022

Mitre link : CVE-2021-30022

CVE.ORG link : CVE-2021-30022


JSON object : View

Products Affected

gpac

  • gpac
CWE
CWE-190

Integer Overflow or Wraparound