Moderate Vulnerability in Pandoc: Denial of Service Risk Due to cmark-gfm Complexity Bugs

pandoc Updated 02 Oct 2025

Summary

29/07/2025
N/A
Yes i
High
7.5

RLSA-2025:8427: Moderate: pandoc security update. Affects pandoc versions < 0:2.0.6-7.el8_10. Fixed in 0:2.0.6-7.el8_10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Pandoc is a versatile Haskell library and command-line tool designed for converting between various markup formats. It supports a wide array of input and output formats, including Markdown, HTML, LaTeX, and many others. Its modular design allows for easy addition of new formats through readers and writers. However, a recent vulnerability has been identified that could lead to denial of service under specific conditions.

Vulnerability Detail

The vulnerability stems from quadratic complexity bugs in the cmark-gfm component of Pandoc, which can be exploited to cause a denial of service. This issue arises when processing certain inputs that lead to excessive resource consumption, potentially crashing the service or making it unresponsive. The CVSS score for this vulnerability is 7.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

0:2.0.6-7.el8_10

This is the first release that contains the fix.

sudo dnf update pandoc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid processing untrusted or complex Markdown inputs that may trigger the quadratic complexity issue until the update has been applied.

Conclusion

In summary, a moderate vulnerability has been identified in Pandoc that could lead to denial of service due to quadratic complexity bugs. Users are advised to update to the latest patched version to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for pandoc →

Share this vulnerability

FAQ

The vulnerability is due to quadratic complexity bugs in the cmark-gfm component, which can lead to denial of service.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.

The CVSS score of this vulnerability is 7.5, indicating a moderate severity level.

Update Pandoc to the patched version 0:2.0.6-7.el8_10 using your package manager.

Yes, avoid processing untrusted or complex Markdown inputs until the update is applied.

Related vulnerabilities

Recent vulnerabilities recorded for pandoc.

How To Fix

Minimum fixed version

0:2.0.6-7.el8_10

This is the first release that contains the fix.

sudo dnf update pandoc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback