Name | CVE-2022-27114 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3004-1, ELA-610-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
htmldoc (PTS) | jessie, jessie (lts) | 1.8.27-8+deb8u4 | fixed |
stretch (security), stretch (lts), stretch | 1.8.27-8+deb9u3 | fixed | |
buster | 1.9.3-1+deb10u4 | fixed | |
buster (security), buster (lts) | 1.9.3-1+deb10u2 | vulnerable | |
bullseye | 1.9.11-4+deb11u3 | fixed | |
bookworm | 1.9.16-1 | fixed | |
sid, trixie | 1.9.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
htmldoc | source | jessie | 1.8.27-8+deb8u4 | ELA-610-1 | ||
htmldoc | source | stretch | 1.8.27-8+deb9u3 | DLA-3004-1 | ||
htmldoc | source | buster | 1.9.3-1+deb10u4 | |||
htmldoc | source | bullseye | 1.9.11-4+deb11u3 | |||
htmldoc | source | (unstable) | 1.9.15-2 |
https://github.com/michaelrsweet/htmldoc/issues/471
https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275