Skip to content
Back to skills

Use After Free

ASecurity

Use-after-free exploitation: dangling refs, reclaim/spray, type confusion, C++ vptr hijack, kernel pool UAF notes.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
developmentrustgoc++backend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 17, 2026

npx -y skills add NetVar1337/agent-skill-canon --skill use-after-free --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Use After Free?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Use After Free
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/netvar1337-use-after-free/badge)](https://www.skillsdirectory.com/skills/netvar1337-use-after-free)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: use-after-free
description: "Use-after-free exploitation: dangling refs, reclaim/spray, type confusion, C++ vptr hijack, kernel pool UAF notes."
version: 1.0.0
license: GPL-3.0-or-later
metadata:
  package: unleash-skills
  author: NetVar1337/unleash
  category: exploit
  triggers:
    - "use after free"
    - "UAF"
    - "dangling pointer"
    - "double free"
---

# Use-after-free (UAF)

## Root patterns
- Explicit free/delete then use
- Callback after teardown
- Iterator into cleared container
- Refcount underflow → premature destroy (`integer-overflow` underflow)

## Exploit path
1. Stabilize free trigger
2. Identify dangling object type/size
3. Spray same-size controlled allocations
4. Corrupt virtual function table / function ptr / length+buffer
5. Call path that trusts dangling object

## C++ tips
- vptr first qword/qword on MSVC/Itanium layouts — confirm
- Fake vtable in controlled spray; ensure RX or pivot to stack ROP if DEP

## Kernel pool UAF (high level)
- Pool backend/lookaside differences
- Quota/process context
- Prefer data-only (token) when SMEP/SMAP/CIG

## Pair with
`heap-exploitation`, `kernel-dev`, `c-review`.

Files in this skill

  • SKILL.md1.1 KB
  • agents/openai.yaml43 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.