CVE Vulnerabilities

CVE-2021-41715

Use After Free

Published: Apr 08, 2022 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

libsixel 1.10.0 is vulnerable to Use after free in libsixel/src/dither.c:379.

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
Libsixel Libsixel_project 1.10.0 (including) 1.10.0 (including)
Libsixel Ubuntu bionic *
Libsixel Ubuntu focal *
Libsixel Ubuntu impish *
Libsixel Ubuntu kinetic *
Libsixel Ubuntu lunar *
Libsixel Ubuntu mantic *
Libsixel Ubuntu oracular *
Libsixel Ubuntu trusty *
Libsixel Ubuntu xenial *

Potential Mitigations

References