PT-2023-9554 · Pandoc+3 · Pandoc+3

Entroychang

·

Published

2023-07-04

·

Updated

2025-11-14

·

CVE-2023-35936

CVSS v3.1

6.1

Medium

VectorAV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:L
Name of the Vulnerable Software and Affected Versions Pandoc versions 1.13 through 3.1.4
Description Pandoc is susceptible to an arbitrary file write vulnerability, which can be triggered by providing a specially crafted image element in the input when generating files using the --extract-media option or outputting to PDF format. This vulnerability allows an attacker to create or overwrite arbitrary files on the system, 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.
Recommendations For versions 1.13 through 3.1.4, update to version 3.1.4 to patch the vulnerability. As a temporary workaround, consider auditing the pandoc command and disallowing PDF output and the --extract-media option until the issue is resolved.

Exploit

Fix

RCE

Weakness Enumeration

Related Identifiers

ALT-PU-2025-8475
BDU:2024-08375
BDU:2024-08409
CVE-2023-35936
DLA-3507-1
GHSA-XJ5Q-FV23-575G
HSEC-2023-0014
OPENSUSE-SU-2024:13056-1

Affected Products

Alt Linux
Astra Linux
Pandoc
Red Os