{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-05-13T20:06:10.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"},{"tags":["x_refsource_MISC"],"url":"https://github.com/michaelrsweet/htmldoc/issues/471"},{"name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3004-1] htmldoc security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-27114","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275","refsource":"MISC","url":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"},{"name":"https://github.com/michaelrsweet/htmldoc/issues/471","refsource":"MISC","url":"https://github.com/michaelrsweet/htmldoc/issues/471"},{"name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3004-1] htmldoc security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T05:18:39.346Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/michaelrsweet/htmldoc/issues/471"},{"name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3004-1] htmldoc security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2022-27114","datePublished":"2022-05-09T16:52:39.000Z","dateReserved":"2022-03-14T00:00:00.000Z","dateUpdated":"2024-08-03T05:18:39.346Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}