Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-64531 — CVE-2026-64531 (OVSwrap) PoC - Linux kernel Open vSwitch LPE; for patch validation and security research | Kitploit
Tools/GitHubGitHub/hackspeak/cve-2026-64531
Privilege EscalationVulnerability AnalysisExploitationBinary Exploitation
GitHubhackspeak/cve-2026-64531

CVE-2026-64531

CVE-2026-64531 (OVSwrap) PoC - Linux kernel Open vSwitch LPE; for patch validation and security research

View Repository
6416 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-64531 — OVSwrap

Linux kernel Open vSwitch module local privilege escalation (normal user → root) PoC. Exploits the integer wraparound of the 16-bit nla_len field to escalate from a normal user all the way to root.

Vulnerability Summary

When the nested action stream generated by OVS exceeds 65535 bytes, the 16-bit nla_len field wraps around. An attacker holding only CAP_NET_ADMIN in a private user/network namespace can craft an oversized CLONE action, causing the kernel parser to fall into attacker-controlled conntrack data, thereby gaining arbitrary kernel read and word-by-word decrement primitives, ultimately tampering with its own credentials to escalate to root.

The bug stems from an unsafe assignment that has existed for 13 years (commit 74f84a5726c7), previously protected by a 32 KiB total length limit; it was activated in March 2025 after commit a1e64addf3ff removed the limit.

  • Vulnerability ID: CVE-2026-64531
  • Type: Local privilege escalation (LPE)
  • Affected Component: Linux kernel openvswitch module
  • Trigger Prerequisite: normal user + unshare -Urn (no initial namespace privileges required)

Affected / Fixed Versions

The 6.13–6.17, 6.19, and 7.0 series are EOL and have no fixes.

Requirements

  • Linux x86-64, running an affected/unpatched kernel
  • OVS conntrack support + FTP conntrack helper
  • Unprivileged user namespaces available (unshare -Urn), sudo installed
  • Python 3.7+
  • 2 GiB+ RAM recommended

Usage

root@kitploit:~
# 必须以普通(非 root)用户运行
python3 ovswrap-poc.py

The script automatically runs unshare -Urn into a private user+network namespace; it includes a pre-derived offset table for approximately 800 x86-64 kernel builds, and when no match is found it attempts dynamic derivation from System.map / BTF / pahole. On success, it obtains a passwordless root shell by writing an entry to /etc/sudoers.d/.

⚠️ Disclaimer

For security research, vulnerability validation, and defensive testing only. This PoC will corrupt kernel credentials, modify the sudoers file, and leave behind zombie processes and damaged OVS state — run it only in a disposable virtual machine; do not run it in production or unauthorized environments.

Attribution and References

  • Original PoC: manizada/OVSwrap (GPL-2.0), this repository is a distribution mirror
  • Technical analysis: https://heyitsas.im/posts/ovswrap/
  • Fix commit: 3f1f755366687d051174739fb99f7d560202f60b
Download Tool
Kernel SeriesAffected RangeFirst Fixed Version
5.15.y5.15.180 – 5.15.2115.15.212
6.1.y6.1.132 – 6.1.1776.1.178
6.6.y6.6.84 – 6.6.1446.6.145
6.12.y6.12.20 – 6.12.966.12.97
6.18.y6.18.0 – 6.18.396.18.40
7.1.y7.1.0 – 7.1.47.1.5