CVE & CISA-KEV Catalog

CVE-2023-38745

MEDIUM
6.3
CVSS v3
NVD

Description

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).

How to fix

Remediation Available
pandocNVD
Affected:< 3.1.6Fixed in:3.1.6CVE-2023-38745derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H

Exploit Intelligence

0.25%probability of exploitation in 30 days
16thpercentile

Low risk: more likely to be exploited than 16% of all known CVEs.

References

Embed a live status badge for CVE-2023-38745
CVE-2023-38745 severity badge

Markdown

[![CVE-2023-38745](https://tridentstack.com/cve/badge/CVE-2023-38745.svg)](https://tridentstack.com/cve/CVE-2023-38745)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-38745"><img src="https://tridentstack.com/cve/badge/CVE-2023-38745.svg" alt="CVE-2023-38745"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-04.