CVE-2022-27114
publishedhtmldoc: image_load_jpeg can cause integer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | htmldoc | Advisory build | 1.8.27-8+deb9u3 | DLA-3004-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocaarch64 | Advisory build | 1.9.15-3.1 | OPENSUSE-SU-2024:12071-1 |
| Ubuntu | bionic | htmldoc | Advisory build | 1.9.2-1ubuntu0.2+esm2 | USN-7225-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocppc64le | Advisory build | 1.9.15-3.1 | OPENSUSE-SU-2024:12071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocs390x | Advisory build | 1.9.15-3.1 | OPENSUSE-SU-2024:12071-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | htmldocx86_64 | Advisory build | 1.9.15-3.1 | OPENSUSE-SU-2024:12071-1 |
| Ubuntu | bionic | htmldoc-common | Advisory build | 1.9.2-1ubuntu0.2+esm2 | USN-7225-1 |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | htmldoc | Advisory build | 1.9.7-1ubuntu0.3+esm2 | USN-7225-1 |
| Ubuntu | focal | htmldoc-common | Advisory build | 1.9.7-1ubuntu0.3+esm2 | USN-7225-1 |
| Ubuntu | jammy | htmldoc | Advisory build | 1.9.15-1ubuntu0.1~esm1 | USN-7225-1 |
| Ubuntu | jammy | htmldoc-common | Advisory build | 1.9.15-1ubuntu0.1~esm1 | USN-7225-1 |
| Ubuntu | trusty | htmldoc | Advisory build | 1.8.27-8ubuntu1+esm4 | USN-7225-1 |
| Ubuntu | trusty | htmldoc-common | Advisory build | 1.8.27-8ubuntu1+esm4 | USN-7225-1 |
| Ubuntu | xenial | htmldoc | Advisory build | 1.8.27-8ubuntu1.1+esm3 | USN-7225-1 |
| Ubuntu | xenial | htmldoc-common | Advisory build | 1.8.27-8ubuntu1.1+esm3 | USN-7225-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
3- https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275
- https://github.com/michaelrsweet/htmldoc/issues/471
- [debian-lts-announce] 20220513 [SECURITY] [DLA 3004-1] htmldoc security update https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5e2a0a7ffc14c95cd96f85637274a0162f2f6a3fdaa58a9414e9e116dd1910fc
- Ingested
- 23 Sep 2026, 07:59:20 UTC
- Source record
- Official CVE record