PT-2022-18230 · Htmldoc+4 · Htmldoc+4

Zzero00Op

·

Published

2022-01-21

·

Updated

2025-01-22

·

CVE-2022-27114

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions htmldoc version 1.9.16
Description The issue arises in the image load jpeg function within image.cxx when it calls malloc. The img->width and img->height values are large enough to cause an integer overflow. As a result, the malloc function may return a heap block smaller than the expected size, leading to a buffer overflow or Address boundary error in the jpeg read scanlines function.
Recommendations For htmldoc version 1.9.16, consider applying a patch or updating to a newer version that fixes the integer overflow issue in the image load jpeg function to prevent buffer overflows. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Weakness Enumeration

Related Identifiers

CVE-2022-27114
DLA-3004-1
MGASA-2022-0191
OPENSUSE-SU-2022_0151-1
OPENSUSE-SU-2024:12071-1
USN-7225-1

Affected Products

Astra Linux
Linuxmint
Suse
Ubuntu
Htmldoc