CVE Vulnerabilities

CVE-2021-46700

Double Free

Published: Feb 19, 2022 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW

In libsixel 1.8.6, sixel_encoder_output_without_macro (called from sixel_encoder_encode_frame in encoder.c) has a double free.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Libsixel Libsixel_project 1.8.6 (including) 1.8.6 (including)
Libsixel Ubuntu bionic *
Libsixel Ubuntu impish *
Libsixel Ubuntu kinetic *
Libsixel Ubuntu lunar *
Libsixel Ubuntu mantic *
Libsixel Ubuntu trusty *
Libsixel Ubuntu xenial *

Potential Mitigations

References