CVE-2022-27114

Source
https://cve.org/CVERecord?id=CVE-2022-27114
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27114.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-27114
Downstream
Related
Published
2022-05-09T16:52:39Z
Modified
2026-07-08T06:03:49.006714961Z
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27114.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/michaelrsweet/htmldoc

Affected ranges

Type
GIT
Repo
https://github.com/michaelrsweet/htmldoc
Events
Database specific
{
    "cpe": "cpe:2.3:a:htmldoc_project:htmldoc:1.9.16:*:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.9.16"
        },
        {
            "last_affected": "1.9.16"
        }
    ]
}

Affected versions

1.*
1.9.16

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27114.json"