CVE-2022-27114
JSON

5.5medium

There is a vulnerability in htmldoc 1.9.16.

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.96% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
htmldoc_project htmldoc1.9.16NVD
debian debian_linux9.0NVD

All scores

NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Se presenta una vulnerabilidad en htmldoc versión 1.9.16. En la función image_load_jpeg image.cxx cuando llama a malloc,"img-)width" e "img-)height" son lo suficientemente grandes como para causar un desbordamiento de enteros. Así, la función malloc puede devolver un blosmaller de pila más grande que el tamaño esperado, y causará un desbordamiento de búfer/error de límite de dirección en la función jpeg_read_scanlines

References

Sources

SourceRecordLicence
CVE ListCVE-2022-27114 changed 2024-08-03CVE Terms of Use
NVDCVE-2022-27114 changed 2026-06-17Public domain