CVE-2022-27114Integer Overflow or Wraparound in Project Htmldoc

Severity
5.5MEDIUMNVD
EPSS
0.2%
top 58.39%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 9
Latest updateJan 22

Description

There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cxx when it calls malloc,'img->width' and 'img->height' they are large enough to cause an integer overflow. So, the malloc function may return a heap blosmaller than the expected size, and it will cause a buffer overflow/Address boundary error in the jpeg_read_scanlines function.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages3 packages

Debianhtmldoc_project/htmldoc< 1.9.11-4+deb11u3+3
Ubuntuhtmldoc_project/htmldoc< 1.8.27-8ubuntu1+esm4+5

Also affects: Debian Linux 9.0

Patches

🔴Vulnerability Details

4
OSV
HTMLDOC vulnerabilities2025-01-22
GHSA
GHSA-2ff5-43qf-52rc: There is a vulnerability in htmldoc 12022-05-10
CVEList
CVE-2022-27114: There is a vulnerability in htmldoc 12022-05-09
OSV
CVE-2022-27114: There is a vulnerability in htmldoc 12022-05-09

📋Vendor Advisories

2
Ubuntu
HTMLDOC vulnerabilities2025-01-22
Debian
CVE-2022-27114: htmldoc - There is a vulnerability in htmldoc 1.9.16. In image_load_jpeg function image.cx...2022
CVE-2022-27114 — Integer Overflow or Wraparound | cvebase