Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 72%

UBUNTU-CVE-2026-59927

0
Medium
Published: 07/08/2026 (07/08/2026, 17:17:00 UTC)
Source: GCVE Database
Product: mistune

Description

Mistune, a Python Markdown parser, has a vulnerability in its Include directive prior to version 3.3.0. The directive detects only direct self-includes but not indirect cycles, allowing two markdown files that include each other to cause unbounded recursion. This results in a RecursionError and crashes the rendering process. The issue is fixed in version 3.3.0.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
mistune
pkg:deb/ubuntu/[email protected]?arch=source&distro=xenial
Affected versions
=0.6-2=0.7.1-1
Ubuntu:18.04:LTSmore threats →ghsa
mistune
pkg:deb/ubuntu/[email protected]?arch=source&distro=bionic
Affected versions
=0.7.4-1=0.8-1=0.8.1-1=0.8.3-2
Ubuntu:20.04:LTSmore threats →ghsa
mistune
pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected versions
=0.8.4-1=0.8.4-2
Ubuntu:22.04:LTSmore threats →ghsa
mistune
pkg:deb/ubuntu/[email protected]+really0.8.4-1?arch=source&distro=jammy
Affected versions
=0.8.4-4=0.8.4-5=2.0.0-1+really0.8.4-1
Ubuntu:24.04:LTSmore threats →ghsa
mistune
pkg:deb/ubuntu/[email protected]?arch=source&distro=noble
Affected versions
=2.0.4-2=3.0.2-1
Ubuntu:25.10more threats →ghsa
mistune
pkg:deb/ubuntu/[email protected]?arch=source&distro=questing
Affected versions
=3.0.2-2=3.1.3-1
Ubuntu:26.04:LTSmore threats →ghsa
mistune
pkg:deb/ubuntu/[email protected]?arch=source&distro=resolute
Affected versions
=3.1.3-1=3.1.4-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 11:30:12 UTC

Technical Analysis

The vulnerability in Mistune's Include directive (prior to 3.3.0) arises because it only detects direct self-includes and fails to detect indirect cyclic includes between markdown files. This flaw allows an attacker to craft two markdown files that include each other, triggering unbounded recursion during rendering. The recursion eventually causes a RecursionError, crashing the rendering request. This denial-of-service condition affects the availability of the service using Mistune for markdown rendering. The issue is resolved in Mistune version 3.3.0.

Potential Impact

An attacker can cause a denial-of-service by triggering unbounded recursion through indirect cyclic includes in markdown files. This leads to a RecursionError and crashes the rendering process, impacting availability. There is no impact on confidentiality or integrity.

Mitigation Recommendations

Upgrade Mistune to version 3.3.0 or later where this issue is fixed. No other mitigation is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-59927
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a58b44f68715ace43d6b6f2

Added to database: 07/16/2026, 10:37:03 UTC

Last enriched: 07/16/2026, 11:30:12 UTC

Last updated: 07/31/2026, 19:24:49 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses