{"api_version":"1","generated_at":"2026-07-23T10:07:59+00:00","cve":"CVE-2022-0137","urls":{"html":"https://cve.report/CVE-2022-0137","api":"https://cve.report/api/cve/CVE-2022-0137.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-0137","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-0137"},"summary":{"title":"CVE-2022-0137","description":"A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries.","state":"PUBLIC","assigner":"patrick@puiterwijk.org","published_at":"2022-11-14 18:15:00","updated_at":"2023-02-02 18:31:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b","name":"https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b","refsource":"MISC","tags":[],"title":"Fix potential heap overflow bug with GIF images (Issue #461) · michaelrsweet/htmldoc@71fe878 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/michaelrsweet/htmldoc/issues/461","name":"https://github.com/michaelrsweet/htmldoc/issues/461","refsource":"MISC","tags":[],"title":"Heap-buffer-overflow in image_set_mask(image_t*, int, int, unsigned char) · Issue #461 · michaelrsweet/htmldoc · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0137","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0137","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"137","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"htmldoc_project","cpe5":"htmldoc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-0137","qid":"184901","title":"Debian Security Update for htmldoc (CVE-2022-0137)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-0137","ASSIGNER":"patrick@puiterwijk.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"A heap buffer overflow in image_set_mask function of HTMLDOC before 1.9.15 allows an attacker to write outside the buffer boundaries."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer","cweId":"CWE-119"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"michaelrsweet","product":{"product_data":[{"product_name":"htmldoc","version":{"version_data":[{"version_value":"1.9.14","version_affected":"="},{"version_value":"1.9.15","version_affected":"!"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/michaelrsweet/htmldoc/issues/461","refsource":"MISC","name":"https://github.com/michaelrsweet/htmldoc/issues/461"},{"url":"https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b","refsource":"MISC","name":"https://github.com/michaelrsweet/htmldoc/commit/71fe87878c9cbc3db429f5e5c70f28e4b3d96e3b"}]},"generator":{"engine":"Vulnogram 0.1.0-dev"},"source":{"discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2022-11-14 18:15:00","lastModifiedDate":"2023-02-02 18:31:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:htmldoc_project:htmldoc:*:*:*:*:*:*:*:*","versionEndExcluding":"1.9.15","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"137","Ordinal":"225147","Title":"CVE-2022-0137","CVE":"CVE-2022-0137","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"137","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}