Integer Overflow or Wraparound
CVE-2021-30022
Summary
There is an integer overflow in "media_tools/av_parsers.c" in the "gf_avc_read_pps_bs_internal" in GPAC through 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.
- LOW
- LOCAL
- NONE
- UNCHANGED
- REQUIRED
- NONE
- NONE
- HIGH
CWE-190 - Integer Overflow or Wraparound
The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
Advisory Timeline
- Published