CVE-2022-27114: debian debian_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2022-27114 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 0.96% chance of exploitation in the next 30 days, higher than 61.2% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 09-05-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.96%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
+0.01 pp
From 0.95% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundHtmldoc
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian2 products
- htmldoc< 1.8.27-8+deb9u3 | < 1.9.15-2
- debian_linuxEOL9.0
Htmldoc_project1 product
- htmldoc1.9.16
Mageia1 product
- htmldoc< 1.9.15-1.1.mga8
Opensuse1 product
- htmldoc&distro=openSUSE Tumbleweed< 1.9.15-3.1
Ubuntu1 product
- htmldoc< 1.8.27-8ubuntu1+esm4 | < 1.8.27-8ubuntu1.1+esm3 | < 1.9.2-1ubuntu0.2+esm2 | < 1.9.7-1ubuntu0.3+esm2 | < 1.9.15-1ubuntu0.1~esm1
5 vendors · 6 products
References
11 links- github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275X Refsource MISCREPORTPatchThird Party Advisory
- github.com/michaelrsweet/htmldoc/issues/471X Refsource MISCREPORTExploitIssue TrackingThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/05/msg00014.htmlMailing ListX Refsource MLISTThird Party Advisory