Read the docs
TI-2022-04243 Aliases CVE-2022-4643GHSA-6m4h-hfpp-x8cx

docconv pdf_ocr.go ConvertPDFImages os command injection

Priority MEDIUM 46CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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.

Why it matters now

EPSS 0.01801 78th percentileScored 2026-11-07
Fix Fixed github.com/sajari/docconv (Go): 1.2.1code.sajari.com/docconv (Go): 1.3.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—docconv1.0; 1.1; 1.2—No fix listedCNA
—github.com/sajari/docconv (Go)before 1.2.11.2.1Patch availableGHSA-6m4h-hfpp-x8cx
—code.sajari.com/docconv (Go)1.1.0 to before 1.3.51.3.5Patch availableGHSA-6m4h-hfpp-x8cx
  • docconv Vendor— Affected 1.0; 1.1; 1.2 Fixed in — No fix listed CNA
  • github.com/sajari/docconv (Go) Vendor— Affected before 1.2.1 Fixed in 1.2.1 Patch available GHSA-6m4h-hfpp-x8cx
  • code.sajari.com/docconv (Go) Vendor— Affected 1.1.0 to before 1.3.5 Fixed in 1.3.5 Patch available GHSA-6m4h-hfpp-x8cx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:search:docconv:*:*:*:*:*:*:*:*before 1.2.1VulnerableSearch
  • cpe:2.3:a:search:docconv:*:*:*:*:*:*:*:* Versions before 1.2.1 Vulnerable ·Search

Remediation

  • Fix · GHSA-6m4h-hfpp-x8cx github.com/sajari/docconv (Go) Fixed in 1.2.1 Advisory →
  • Fix · GHSA-6m4h-hfpp-x8cx code.sajari.com/docconv (Go) Fixed in 1.3.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-4643
  2. 2026-10-03 Alias added: GHSA-6m4h-hfpp-x8cx

References

  • TI-2022-04337 docconv XMLToText memory allocation CVSS 3.1MEDIUM 6.5

Sources