Heap-based buffer overflow in libde265 - CVE-2022-1253

 

Heap-based buffer overflow in libde265 - CVE-2022-1253

Published: February 27, 2024


Vulnerability identifier: #VU86851
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-1253
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the read_sps_NAL() function in decctx.cc. A remote attacker can pass specially crafted video file to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

libde265
Ubuntu
libde265-0 (Ubuntu package)

How to mitigate CVE-2022-1253

Install updates from vendor's website.

libde265 - update to 1.0.9
libde265-0 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.0.4-1ubuntu0.2, 1.0.8-1ubuntu0.1

External References

Related Security Bulletins