CVE-2023-38745: pandoc · n/a
Affects pandocSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited : upgrade to 3.1.6 soon.
Data as of 26 Oct 2026, 06:26 UTC
Rated High by the CNA (mitre) · No CVSS score from NVD or the CNA
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.6
Exploitation evidence
Disclosed: evidence found.
CVE published 25 Jul 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade jgm/pandoc to 3.1.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubjgm/pandocpkg:github/jgm/pandocOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Pandoc version 3.1.6. Users should upgrade to version 3.1.6 or later to remediate this vulnerability. Until upgraded, avoid processing untrusted input with the --extract-media option or generating PDF output using vulnerable versions of Pandoc.
Description
Pandoc versions prior to 3.1.6 contain a vulnerability that allows arbitrary file write. This occurs when processing crafted image elements in input while generating files using the --extract-media option or when outputting to PDF format. The flaw stems from an incomplete fix for a previous vulnerability (CVE-2023-35936) related to double encoded path names. Exploitation requires passing untrusted input to Pandoc with these specific options enabled, and the impact depends on the privileges of the Pandoc process.
References
- github.com/jgm/pandoc/commit/eddedbfc14916aa06fc01ff04b38aeb30ae2e625 (opens in a new tab)
- github.com/jgm/pandoc/compare/3.1.5...3.1.6 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2023/07/msg00029.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QI6RBP6ZKVC2OOCV6SU2FUHPMAXDDJFU/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JGRJHU2FTSGTHHRTNDF7STEKLKKA25JN/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYP3FKDS3KAYMQUZVVL73IUI4CWSKLKP/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYP3FKDS3KAYMQUZVVL73IUI4CWSKLKP/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QI6RBP6ZKVC2OOCV6SU2FUHPMAXDDJFU/ (opens in a new tab)