CVE-2022-0137 json
A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
published 2022-11-14 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-15350
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.
Patch / fix
- michaelrsweet htmldoc 1.9.15
- htmldoc Debian 14, Debian 13, Debian 12 1.9.15-1
debian advisories DEBIAN-CVE-2022-0137
- htmldoc Ubuntu Pro 14.04 LTS 1.8.27-8ubuntu1+esm4
- htmldoc Ubuntu Pro 16.04 LTS 1.8.27-8ubuntu1.1+esm3
- htmldoc Ubuntu Pro 18.04 LTS 1.9.2-1ubuntu0.2+esm2
- htmldoc Ubuntu Pro 20.04 LTS 1.9.7-1ubuntu0.3+esm2
ubuntu advisories UBUNTU-CVE-2022-0137
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-0137 updated cvss 7.5
htmldoc: heap buffer overflow in image_set_mask()
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/michaelrsweet/htmldoc/issues/461 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- michaelrsweet htmldoc
Classification
References
-
github.com
/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b
patch, third-party-advisory
-
github.com
/michaelrsweet/htmldoc/issues/461
issue-tracking, exploit, patch, third-party-advisory
Sources
- CVE List CVE-2022-0137
- NVD CVE-2022-0137
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.