Division by zero in MPlayer - CVE-2022-38850

 

Division by zero in MPlayer - CVE-2022-38850

Published: May 12, 2023


Vulnerability identifier: #VU76082
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-38850
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a division by zero error within the config() function in llibmpcodecs/vf_scale.c. A remote attacker can trick the victim to open a specially crafted file, trigger a divide by zero error and crash the application.


Affected software

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

How to mitigate CVE-2022-38850

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