Home / docconv / docconv / CVE-2022-4643
CVE-2022-4643: is it exploited, and which versions of docconv are affected and fixed?
CVE-2022-4643 is an OS command injection vulnerability in docconv. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: github.com/sajari/docconv before 1.2.1 and code.sajari.com/docconv from 1.1.0 before 1.3.5 (GitHub advisory GHSA-6m4h-hfpp-x8cx). Fixed in 1.2.1 and 1.3.5 (GitHub advisory GHSA-6m4h-hfpp-x8cx). Severity: Medium (6.3, CVSS 3.1, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:43 UTC.
What is CVE-2022-4643?
docconv pdf_ocr.go ConvertPDFImages os command injection
A vulnerability was found in docconv up to 1.2.0. It has been declared as critical. This vulnerability affects the function ConvertPDFImages of the file pdf_ocr.go. The manipulation of the argument path leads to os command injection. The attack can be initiated remotely. Upgrading to version 1.2.1 is able to address this issue. The name of the patch is b19021ade3d0b71c89d35cb00eb9e589a121faa5. It is recommended to upgrade the affected component. VDB-216502 is the identifier assigned to this vulnerability.
From the CVE record by VulDB, last updated August 3, 2024, 01:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| docconv | 1.0 1.1 1.2 |
As the CVE record by VulDB states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/sajari/docconv | < 1.2.1 | 1.2.1 | GHSA-6m4h-hfpp-x8cx |
| Go | code.sajari.com/docconv | >= 1.1.0, < 1.3.5 | 1.3.5 | GHSA-6m4h-hfpp-x8cx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 20, 2024. Summary: docconv OS Command Injection vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| search | docconv | before 1.2.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:21 UTC.
How severe is CVE-2022-4643?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | VulDB |
| Medium 6.3 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | VulDB |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-4643 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.84% probability of exploitation activity in the next 30 days, percentile 79.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://vuldb.com/?id.216502 technical-description, vdb-entry
- https://github.com/sajari/docconv/pull/110 related
- https://github.com/sajari/docconv/commit/b19021ade3d0b71c89d35cb00eb9e589a121faa5 mitigation, patch
- https://github.com/sajari/docconv/releases/tag/v1.2.1 mitigation
When was it published, and where is the official record?
- Reserved
- December 21, 2022
- Published
- December 21, 2022, 00:00 UTC
- CVE record updated
- August 3, 2024, 01:48 UTC by VulDB
- NVD
- Modified, last modified June 17, 2026, 05:21 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:43 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect docconv?
- Dec 25, 2022CVE-2022-4741 docconv: memory Allocation with Excessive Size Value
Questions about CVE-2022-4643
Is CVE-2022-4643 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 1.84% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of docconv are affected by CVE-2022-4643?
github.com/sajari/docconv before 1.2.1 and code.sajari.com/docconv from 1.1.0 before 1.3.5, per the GitHub advisory GHSA-6m4h-hfpp-x8cx. The tables above give every range the sources list.
Which version fixes CVE-2022-4643?
1.2.1 and 1.3.5, per the GitHub advisory GHSA-6m4h-hfpp-x8cx. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-4643?
Medium (6.3, CVSS 3.1, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2022-4643?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.