CVE-2022-27114

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-27114
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-27114.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-27114
Related
Published
2022-05-09T17:15:09Z
Modified
2024-10-12T09:22:26.204788Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

There is a vulnerability in htmldoc 1.9.16. In imageloadjpeg 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 jpegreadscanlines function.

References

Affected packages

Debian:11 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/debian/htmldoc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.11-4+deb11u3

Affected versions

1.*

1.9.11-4
1.9.11-4+deb11u1
1.9.11-4+deb11u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/debian/htmldoc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.15-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/debian/htmldoc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.15-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/michaelrsweet/htmldoc

Affected ranges

Type
GIT
Repo
https://github.com/michaelrsweet/htmldoc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.8.30
v1.9
v1.9.1
v1.9.10
v1.9.11
v1.9.12
v1.9.13
v1.9.14
v1.9.15
v1.9.2
v1.9.3
v1.9.4
v1.9.5
v1.9.6
v1.9.7
v1.9.8
v1.9.9