Skip to content
OpenAdvisories
High · 8.8 CVE-2021-21848 EUVD-2021-9019GHSA-q7q4-gw8j-595q

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content libra…

Published Aug 25, 2021 · Updated Aug 3, 2024 · Assigned by talos

Description

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. The library will actually reuse the parser for atoms with the “stsz” FOURCC code when parsing atoms that use the “stz2” FOURCC code and can cause an integer overflow due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption. An attacker can convince a user to open a video to trigger this vulnerability.

Affected products

VendorProductAffectedFixed
— GPAC Project GPAC Project Advanced Content commit a8a8d412dabcb129e695c3e7d861fcc81f608304,GPAC Project Advanced Content v1.0.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 gpac 1.0.1+dfsg1-4+deb11u1 DSA-4966-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gpac No fix yet —
Ubuntu Pro 22.04 LTS gpac No fix yet —
Ubuntu Pro 20.04 LTS gpac No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gpac No fix yet —
Ubuntu Pro 16.04 LTS gpac No fix yet —
Ubuntu Pro 14.04 LTS gpac No fix yet —

Advisories 1

References