UBUNTU-CVE-2021-21843

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-21843

    UBUNTU-CVE-2021-21843

    Published: 18 Aug 2021Last Modified: 22 Apr 2026
    Upstream:

    Summary:

    Details: Multiple exploitable integer overflow vulnerabilities exist within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. A specially crafted MPEG-4 input can cause an integer overflow due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption. After validating the number of ranges, at [41] the library will multiply the count by the size of the GF_SubsegmentRangeInfo structure. On a 32-bit platform, this multiplication can result in an integer overflow causing the space of the array being allocated to be less than expected. An attacker can convince a user to open a video to trigger this vulnerability.

    Affected packages

    Package

    Name: gpac

    Purl: pkg:deb/ubuntu/[email protected]+svn4288~dfsg1-4ubuntu1+esm2?arch=source&distro=esm-infra-legacy/trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    0.5.0+svn4288~dfsg1-1ubuntu1
    0.5.0+svn4288~dfsg1-4
    0.5.0+svn4288~dfsg1-4ubuntu1
    0.5.0+svn4288~dfsg1-4ubuntu1+esm1
    0.5.0+svn4288~dfsg1-4ubuntu1+esm2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-21843 | CVE-DB