NULL pointer dereference in libsixel - CVE-2021-45340

 

NULL pointer dereference in libsixel - CVE-2021-45340

Published: January 13, 2025


Vulnerability identifier: #VU102567
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-45340
CWE-ID: CWE-476
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 NULL pointer dereference error within the stb_image.h component. A remote attacker can trigger denial of service conditions via a crafted PICT file.


Affected software

libsixel
Fedora
stb

How to mitigate CVE-2021-45340

Install update from vendor's website.

libsixel - update to 1.10.4
stb - addressed in versions 0^20241002git31707d1-4.el9, 0^20241002git31707d1-4.fc40, 0^20241002git31707d1-5.el10_0, 0^20241002git31707d1-5.fc41, 0-0.50.20241002git31707d1.el8

External References

Related Security Bulletins