{"id":"CVE-2022-4741","published":"2022-12-25T19:47:45Z","modified":"2024-08-03T01:48:40Z","title":"docconv XMLToText memory allocation","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability was found in docconv up to 1.2.0 and classified as problematic. This issue affects the function ConvertDocx/ConvertODT/ConvertPages/ConvertXML/XMLToText. The manipulation leads to uncontrolled memory allocation. The attack may be initiated remotely. Upgrading to version 1.2.1 is able to address this issue. The name of the patch is 42bcff666855ab978e67a9041d0cdea552f20301. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216779.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00828,"percentile":0.58391,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://vuldb.com/?id.216779","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.216779","tags":["signature","permissions-required"]},{"url":"https://github.com/sajari/docconv/pull/111","tags":["issue-tracking"]},{"url":"https://github.com/sajari/docconv/commit/42bcff666855ab978e67a9041d0cdea552f20301","tags":["patch"]},{"url":"https://github.com/sajari/docconv/releases/tag/v1.2.1","tags":["patch"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":11.68},{"name":"CVSS severity","points":3.01}]},"affectedVersions":[{"vendor":"n/a","product":"docconv","versions":["1.0","1.1","1.2"]}],"affected":[{"ecosystem":"Go","package":"github.com/sajari/docconv","vulnerableRanges":["<1.2.1"],"patched":["1.2.1"],"from":["GHSA-qvx2-59g8-8hph"],"provenance":"source"},{"ecosystem":"Go","package":"code.sajari.com/docconv","vulnerableRanges":["<1.2.1"],"patched":["1.2.1"],"from":["GHSA-qvx2-59g8-8hph","GO-2022-1188"],"provenance":"source"}],"summary":{"text":"The docconv library (up to version 1.2.0) has a memory allocation flaw in its ConvertDocx, ConvertODT, ConvertPages, ConvertXML and XMLToText functions, where crafted input can trigger allocation of excessive memory. An attacker can exploit this remotely without authentication, but needs a user to interact with the crafted document, and the impact is limited to availability (memory exhaustion).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:32Z"},"euvd":{"id":"EUVD-2022-7726","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-4741","published":"2022-12-25","fixed":"1.2.1","kev":false},{"cve":"CVE-2022-4643","published":"2022-12-21","fixed":"1.3.5","kev":false,"link":{"from":"CVE-2022-4741","to":"CVE-2022-4643","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:code.sajari.com/docconv","fromFixed":"1.2.1","toFixed":"1.3.5","daysApart":-4}]}}],"package":"Go:code.sajari.com/docconv"}}