VDB

CVE-2023-38745

CVE-2023-38745 PUBLISHED

Reported by mitre · Published July 25, 2023

Pandoc before 3.1.6 allows arbitrary file write: this can be triggered by providing a crafted image element in the input when generating files via the --extract-media option or outputting to PDF format. This allows an attacker to create or overwrite arbitrary files, depending on the privileges of the process running Pandoc. It only affects systems that pass untrusted user input to Pandoc and allow Pandoc to be used to produce a PDF or with the --extract-media option. NOTE: this issue exists because of an incomplete fix for CVE-2023-35936 (failure to properly account for double encoded path names).

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Jul 25, 2023 CVE Published
  • Jul 25, 2023 EPSS Score (30 in total, the first dated here)
  • Nov 4, 2025 CVE Updated
  • Apr 3, 2026 Security Advisory
  • Aug 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-38745
vulnetix vdb fixes CVE-2023-38745

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-38745/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›