Out-of-bounds write in MPlayer - CVE-2022-38861

 

Out-of-bounds write in MPlayer - CVE-2022-38861

Published: May 12, 2023


Vulnerability identifier: #VU76089
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-38861
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash the application

The vulnerability exists due to a boundary error within the free_mp_image() function in libmpcodecs/mp_image.c. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger an out-of-bounds write and crash the application.

Affected software

MPlayer
Gentoo Linux
Ubuntu
mencoder (Ubuntu package)
mplayer (Ubuntu package)
media-video/mplayer

How to mitigate CVE-2022-38861

Install updates from vendor's website.

mencoder (Ubuntu package) - addressed in versions Ubuntu Pro, 2:1.3.0-7ubuntu0.2, 2:1.3.0-8+deb10u1build0.20.04.1, 2:1.4+ds1-3ubuntu0.1, 2:1.4+ds1-3ubuntu1.1
mplayer (Ubuntu package) - addressed in versions Ubuntu Pro, 2:1.3.0-7ubuntu0.2, 2:1.3.0-8+deb10u1build0.20.04.1, 2:1.4+ds1-3ubuntu0.1, 2:1.4+ds1-3ubuntu1.1
media-video/mplayer - update to 1.5

External References

Related Security Bulletins