Look up and search CWE (Common Weakness Enumeration) and CVE (Common Vulnerabilities and Exposures) entries. Use when the user asks about a specific CWE or CVE by ID, searches for vulnerabilities by keyword, needs CWE↔CVE associations, or references security weaknesses/vulnerabilities in reports. Triggers on: CWE-*, CVE-*, "look up vulnerability", "find CVE", "search CWE", "what is CWE-416", "CVEs for use-after-free", security vulnerability lookup.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add aibot88/sec_skill_store --skill laneser-linuxkernel2026-.claude-skills-cve-cwe --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Laneser Linuxkernel2026 .Claude Skills Cve Cwe?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/aibot88-laneser-linuxkernel2026-claude-skills-cve-cwe)More formats (shields.io, HTML) on the badges page.
---
name: cve-cwe
description: >
Look up and search CWE (Common Weakness Enumeration) and CVE (Common Vulnerabilities and Exposures) entries.
Use when the user asks about a specific CWE or CVE by ID, searches for vulnerabilities by keyword,
needs CWE↔CVE associations, or references security weaknesses/vulnerabilities in reports.
Triggers on: CWE-*, CVE-*, "look up vulnerability", "find CVE", "search CWE",
"what is CWE-416", "CVEs for use-after-free", security vulnerability lookup.
---
# CWE/CVE Lookup Skill
Run all commands with `uv run`:
```bash
SCRIPT=.claude/skills/cve-cwe/scripts/cve_cwe.py
```
## Commands
| Command | Purpose | Example |
|---------|---------|---------|
| `cwe <id>` | Full CWE details by ID | `uv run $SCRIPT cwe 416` |
| `cwe-search <keyword>` | Search CWE by keyword (local XML cache) | `uv run $SCRIPT cwe-search "buffer overflow"` |
| `cve <id>` | Full CVE details by ID | `uv run $SCRIPT cve CVE-2024-1086` |
| `cve-search <keyword>` | Search CVEs by keyword (NVD API) | `uv run $SCRIPT cve-search "use after free"` |
| `cwe-cves <cwe-id>` | Find CVEs associated with a CWE | `uv run $SCRIPT cwe-cves CWE-416` |
| `cve-cwes <cve-id>` | Find CWEs associated with a CVE (with full CWE details) | `uv run $SCRIPT cve-cwes CVE-2024-1086` |
## Options
`cve-search` and `cwe-cves` accept:
- `--severity LOW|MEDIUM|HIGH|CRITICAL` — filter by CVSS v3 severity
- `--limit <n>` — max results (default: 10, max: 50)
## Notes
- CWE keyword search downloads MITRE's XML database on first use (~8 MB, cached at `/tmp/cwe_cache/`)
- NVD API has a rate limit of 5 requests per 30 seconds (no API key)
- CWE IDs accept both `416` and `CWE-416` formats; CVE IDs accept both `2024-1086` and `CVE-2024-1086`
## Report Usage
When citing CWE/CVE in reports, use the output to construct accurate references:
- CWE: `[CWE-416](https://cwe.mitre.org/data/definitions/416.html) (Use After Free)`
- CVE: `[CVE-2024-1086](https://nvd.nist.gov/vuln/detail/CVE-2024-1086)`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!