CVE Vulnerabilities

CVE-2021-40566

Use After Free

Published: Jan 12, 2022 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

A Segmentation fault casued by heap use after free vulnerability exists in Gpac through 1.0.1 via the mpgviddmx_process function in reframe_mpgvid.c when using mp4box, which causes a denial of service.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
GpacGpac*1.0.1 (including)
GpacUbuntubionic*
GpacUbuntufocal*
GpacUbuntuhirsute*
GpacUbuntuimpish*
GpacUbuntukinetic*
GpacUbuntulunar*
GpacUbuntutrusty*
GpacUbuntutrusty/esm*
GpacUbuntuxenial*

Potential Mitigations

References