{"id":"CVE-2022-0137","published":"2022-11-14T17:01:45Z","modified":"2025-04-25T19:53:06Z","title":"A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the…","vendor":"michaelrsweet","product":"htmldoc","tier":"tail","description":{"text":"A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00681,"percentile":0.53352,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/461","tags":["issue-tracking"]},{"url":"https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b","tags":["patch"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":10.67},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"michaelrsweet","affectedVersions":[{"vendor":"michaelrsweet","product":"htmldoc","versions":["1.9.14"]}],"fixedVersions":[{"vendor":"michaelrsweet","product":"htmldoc","versions":["1.9.15"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-25T19:52:40.944684Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-15350","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-michaelrsweet-htmldoc-cve-2021-40985","parents":[{"from":"CVE-2021-23191","to":"CVE-2022-0137","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b"],"basis":"shared function","functions":["image_load_gif"]}]},{"from":"CVE-2021-23158","to":"CVE-2022-0137","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc","https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b"],"basis":"shared function","functions":["image_load_gif"]}]},{"from":"CVE-2022-27114","to":"CVE-2022-0137","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htmldoc/image.cxx"],"commits":["https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b","https://github.com/michaelrsweet/htmldoc/commit/31f780487e5ddc426888638786cdc47631687275"],"basis":"shared function","functions":["image_load_gif"]}]}]}}