# CVE-2022-4741: docconv XMLToText memory allocation

- Severity: Medium 4.3 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-01)
- Published: 2022-12-25T19:47:45.687Z
- Modified: 2026-06-17T05:21:42.520Z
- Also known as: GHSA-qvx2-59g8-8hph, GO-2022-1188
- Weaknesses: CWE-789
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- docconv: 1.0; 1.1; 1.2
- github.com/sajari/docconv (Go): before 1.2.1
- code.sajari.com/docconv (Go): before 1.2.1
- search docconv: before 1.2.1

## Every score

- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://vuldb.com/?id.216779> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.216779> (permissions-required, signature, third-party-advisory, web)
- <https://github.com/sajari/docconv/pull/111> (issue-tracking, patch, third-party-advisory, web)
- <https://github.com/sajari/docconv/commit/42bcff666855ab978e67a9041d0cdea552f20301> (fix, patch, third-party-advisory, web)
- <https://github.com/sajari/docconv/releases/tag/v1.2.1> (patch, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4741> (advisory)
- <https://github.com/sajari/docconv> (package)
- <https://pkg.go.dev/vuln/GO-2022-1188> (web)

## Sources

- CVE List: [CVE-2022-4741](https://www.cve.org/CVERecord?id=CVE-2022-4741), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-qvx2-59g8-8hph](https://github.com/advisories/GHSA-qvx2-59g8-8hph), CC-BY-4.0, modified 2024-03-01
- Go Vulnerability Database: [GO-2022-1188](https://pkg.go.dev/vuln/GO-2022-1188), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-4741](https://nvd.nist.gov/vuln/detail/CVE-2022-4741), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4741 · Whole record: https://cve.day/CVE-2022-4741.json · Rebuilt by cve.day 2026-11-25T22:58:17.868Z
