{"id":"CVE-2022-27114","state":"PUBLISHED","title":"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 over","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.","publishedAt":"2022-05-09T16:52:39.000Z","updatedAt":"2024-08-03T05:18:39.346Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275","https://github.com/michaelrsweet/htmldoc/issues/471","https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:52.117Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/27xxx/CVE-2022-27114.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-27114","state":"PUBLISHED","datePublished":"2022-05-09T16:52:39.000Z","dateUpdated":"2024-08-03T05:18:39.346Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-03-14T00:00:00.000Z"},"containers":{"cna":{"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275","tags":["x_refsource_MISC"]},{"url":"https://github.com/michaelrsweet/htmldoc/issues/471","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html","name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3004-1] htmldoc security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2022-05-13T20:06:10.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"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":[{"title":"CVE Program Container","references":[{"url":"https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/michaelrsweet/htmldoc/issues/471","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00014.html","name":"[debian-lts-announce] 20220513 [SECURITY] [DLA 3004-1] htmldoc security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T05:18:39.346Z"}}]}}}