CVE Vulnerabilities

CVE-2022-32317

Use After Free

Published: Jul 14, 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
MEDIUM

The MPlayer Project v1.5 was discovered to contain a heap use-after-free resulting in a double free in the preinit function at libvo/vo_v4l2.c. This vulnerability can lead to a Denial of Service (DoS) via a crafted file. The device=strdup statement is not executed on every call. Note: This has been disputed by third parties as invalid and not reproduceable.

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

Name Vendor Start Version End Version
Mplayer Mplayerhq 1.5 (including) 1.5 (including)
Mplayer Ubuntu bionic *
Mplayer Ubuntu impish *
Mplayer Ubuntu kinetic *
Mplayer Ubuntu lunar *
Mplayer Ubuntu mantic *
Mplayer Ubuntu trusty *
Mplayer Ubuntu xenial *

Potential Mitigations

References