CVE Vulnerabilities

CVE-2021-23158

Double Free

Published: Mar 16, 2022 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A flaw was found in htmldoc in v1.9.12. Double-free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition, allowing an attacker to execute arbitrary code and denial of service.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
HtmldocHtmldoc_project1.9.12 (including)1.9.12 (including)
HtmldocUbuntubionic*
HtmldocUbuntuesm-apps/bionic*
HtmldocUbuntuesm-apps/focal*
HtmldocUbuntuesm-apps/xenial*
HtmldocUbuntuesm-infra-legacy/trusty*
HtmldocUbuntufocal*
HtmldocUbuntugroovy*
HtmldocUbuntuhirsute*
HtmldocUbuntuimpish*
HtmldocUbuntukinetic*
HtmldocUbuntulunar*
HtmldocUbuntumantic*
HtmldocUbuntutrusty*
HtmldocUbuntutrusty/esm*
HtmldocUbuntuupstream*
HtmldocUbuntuxenial*

Potential Mitigations

References