
CVE catalog
CVE-2023-38745
pandoc: CVE-2023-38745
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pandoc | sid | 3.11-1 | not affected |
| Debian | pandoc | forky | 3.11-1 | not affected |
| Debian | pandoc | trixie | 3.1.11.1+ds-2 | not affected |
| Debian | pandoc | bookworm | 2.17.1.1-2~deb12u1 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pandoc | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | pandoc | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | pandoc | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | pandoc | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libghc-pandoc-dev]Not affected
Source package: [pandoc]
Details (2)
2.17.1.1-2~deb12u1· amd64 · bookwormNot affected
dsa · pandoc · debian · bookworm
2.17.1.1-2~deb12u1· arm64 · bookwormNot affected
dsa · pandoc · debian · bookworm
- [libghc-pandoc-doc]Not affected
Source package: [pandoc]
Details (2)
2.17.1.1-2~deb12u1· all · bookwormNot affected
dsa · pandoc · debian · bookworm
2.17.1.1-2~deb12u1· all · bookwormNot affected
dsa · pandoc · debian · bookworm
- [libghc-pandoc-prof]Not affected
Source package: [pandoc]
Details (2)
2.17.1.1-2~deb12u1· amd64 · bookwormNot affected
dsa · pandoc · debian · bookworm
2.17.1.1-2~deb12u1· arm64 · bookwormNot affected
dsa · pandoc · debian · bookworm
- [pandoc]Not affected
Details (2)
2.17.1.1-2~deb12u1· amd64 · bookwormNot affected
dsa · pandoc · debian · bookworm
2.17.1.1-2~deb12u1· arm64 · bookwormNot affected
dsa · pandoc · debian · bookworm
- [pandoc-data]Not affected
Source package: [pandoc]
Details (2)
2.17.1.1-2~deb12u1· all · bookwormNot affected
dsa · pandoc · debian · bookworm
2.17.1.1-2~deb12u1· all · bookwormNot affected
dsa · pandoc · debian · bookworm
Observed: