Search CVEs
search_cvesFinds CVEs matching a filter and returns one page of them with the total, newest first by default. Reaches the first 10,000 results of a filter.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_cves"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | A CVE id or its start (`CVE-2024-3`), an EUVD id (`EUVD-2021-34768`, its CVE), or words found in the title, description, vendor or product. 3–200 characters. | |
| to | No | Last day (`YYYY-MM-DD`, UTC, inclusive) of a `custom` range. | |
| cwe | No | Only CVEs whose record or NVD names this weakness: `CWE-79` (cross-site scripting) or `79`. | |
| dir | No | Direction of the order: `desc` is newest or highest first. Default `desc`. | |
| kev | No | Only CVEs in CISA's Known Exploited Vulnerabilities catalog. | |
| from | No | First day (`YYYY-MM-DD`, UTC, inclusive) of a `custom` range. | |
| page | No | Page number from 1. | |
| sort | No | Order of the rows. `kevAdded`: when CISA added it to KEV, CVEs not in KEV last. Default `published`. | |
| range | No | Publication date window, resolved in UTC when the request runs. `custom` uses `from` and `to`. Default `all`. | |
| vendor | No | Only CVEs whose record lists this vendor among the affected, exact name in any case (`Microsoft`). | |
| exploit | No | Only CVEs with a known public exploit or proof of concept (a reference tagged `exploit`, CISA SSVC exploitation `poc` or `active`, a Metasploit module, a Nuclei template or an Exploit-DB entry). | |
| product | No | Only CVEs affecting this product, of `vendor` when one is given. | |
| assigner | No | Only CVEs assigned by this CNA, by its short name in any case (`GitHub_M`). | |
| pageSize | No | Rows per page, up to 100. Default `20`. | |
| severity | No | Only these severities: CRITICAL, HIGH, MEDIUM, LOW, NONE, UNKNOWN. NONE is a CVSS score of 0, UNKNOWN is not scored yet. | |
| ecosystem | No | Only CVEs with a reviewed GitHub advisory for a package of this ecosystem: npm, PyPI, Maven, NuGet, Go, RubyGems, crates.io, Packagist, Pub, Hex, SwiftURL, GitHub Actions. |