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

Wed, 05 Mar 2025 23:15:00 +0000

Type Values Removed Values Added
Description 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. 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

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-03-05T22:59:04.945Z

Reserved: 2021-04-02T00:00:00.000Z

Link: CVE-2021-30022

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-19T20:15:14.647

Modified: 2025-03-05T23:15:13.390

Link: CVE-2021-30022

cve-icon Redhat

No data.