Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/joakimbulow/cve-2026-24688
Vulnerability AnalysisExploitationFuzzingPapers & ResearchLearning & Education
GitHubjoakimbulow/cve-2026-24688

CVE-2026-24688

Proof-of-concept exploit for CVE-2026-24688, a denial-of-service vulnerability in pypdf's outline parsing. Includes malicious PDF generator and reproduction scripts demonstrating memory exhaustion and system crash.

View Repository
429 months agoNot yet reviewed
Share

CVE-2026-24688 - pypdf - Circular Reference DoS Vulnerability

This repo includes proof of concept code for triggering CVE-2026-24688.

Summary

Critical Denial of Service vulnerability in pypdf's outline (bookmark) parsing logic. When processing a PDF with circular outline references, the parser enters an infinite loop that continuously allocates memory, consuming hundreds of MBs memory per seconds, on my machine (TM), and lead to complete system crash.

This is a system-level DoS, not just an application hang.


Contents

  • malicious_circular_outline.pdf - Exploit PDF with circular outline (754 bytes)
  • create_malicious_pdf.py - Script to generate the exploit PDF
  • simple_read_pdf.py - Simple test script to reproduce the vulnerability
  • test_pypdf.sh - Automated test script (installs pypdf and runs test)
  • README.md - This file

WARNING: These tests may crash your system if you dont keep an eye on memory consumption and cancel it in time.


Automated Test (UNSAFE)

# Run the automated test script (with timeout protection)
chmod +x test_pypdf.sh
./test_pypdf.sh

# This will:
# 1. Install the vulnerable version of pypdf
# 2. Run test with 15-second timeout
# 3. Show memory consumption behavior

Manual Tests

Test 1: Controlled Test (10 seconds with timeout)

# Install pypdf (vulnerable version 6.6.0)
pip install "pypdf==6.6.0"

# Run with timeout
timeout 10s python3 simple_read_pdf.py malicious_circular_outline.pdf

Test 2: Full Crash Test (UNSAFE)

# Install pypdf (vulnerable version 6.6.0)
pip install "pypdf==6.6.0"

# Run without timeout
python3 simple_read_pdf.py malicious_circular_outline.pdf

Vulnerability Details

Vulnerable Code

Location: pypdf/_doc_common.py - _get_outline() method (lines 858-873)

def _get_outline(self, node, outline=None):
    while True:  # ❌ NO cycle detection!
        outline_obj = self._build_outline_item(node)
        if outline_obj:
            outline.append(outline_obj)  # ❌ Heap allocation in loop!
        
        if "/Next" not in node:
            break
        node = node["/Next"]  # ❌ Follows circular references

Root Cause: No visited set, no iteration limit, continuous memory allocation


Impact

Confirmed Test Results

Real-World Test:

  • Result: System crash, hard reboot required
  • Timeline: ~5 minutes to complete system failure ()
  • Memory: 30GB+ consumed
  • CPUs: All cores 100% (system thrashing)

Attack Characteristics:

  • ✅ 100% CPU (immediate)
  • ✅ Linear memory growth
  • ✅ System-wide failure
  • ✅ Hard reboot required
  • ✅ Potential data loss

Fix

Fixed in version 6.6.2

https://github.com/py-pdf/pypdf/security/advisories/GHSA-2q4j-m29v-hq73

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    911
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    366
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    362
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    311
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    287

Explore all tools

Browse our collection of tools

View all tools →