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.
                
            Metrics
Affected Vendors & Products
References
        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 |  | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: mitre
Published: 2021-04-19T19:34:08.000Z
Updated: 2025-03-05T22:59:04.945Z
Reserved: 2021-04-02T00:00:00.000Z
Link: CVE-2021-30022
 Vulnrichment
                        Vulnrichment
                    No data.
 NVD
                        NVD
                    Status : Modified
Published: 2021-04-19T20:15:14.647
Modified: 2025-03-05T23:15:13.390
Link: CVE-2021-30022
 Redhat
                        Redhat
                    No data.