Overview
Pass `cve` to look up one CVE (case and a missing dash after CVE are forgiven), or `product` and/or `vendor` to search. Search returns `product`, `vendor`, `total`, `page`, `limit`, `pages` and `results`, newest first, and accepts `severity`, `year`, `exploited` (paid), `limit` (1-25) and `page`. A product with a vendor returns CVEs listed under both.
The headline `severity`, `cvssScore` and `cvssVersion` come from the newest CVSS version present, preferring NVD's own score within a version and falling back to the CNA's. `products` comes from NVD's CPE configurations (vulnerable matches only, with versionStart/End ranges as startIncluding, startExcluding, endIncluding and endExcluding). `affected` is the CNA's list with version, lessThan and lessThanOrEqual. Both are capped at 100 products per CVE; `productCount` gives the CPE total.
Sources: NIST National Vulnerability Database (public domain; this product uses the NVD API but is not endorsed or certified by the NVD), CISA Known Exploited Vulnerabilities catalog (CC0) and FIRST EPSS (first.org/epss). Refreshed weekly.
Endpoint
One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.
curl "https://api.apiverve.com/v1/cvelookup?cve=CVE-2021-44228&product=log4j&vendor=apache&severity=critical&year=2024&exploited=true&limit=10&page=1" \
-H "x-api-key: your_api_key_here"const res = await fetch('https://api.apiverve.com/v1/cvelookup?cve=CVE-2021-44228&product=log4j&vendor=apache&severity=critical&year=2024&exploited=true&limit=10&page=1', {
headers: { 'x-api-key': 'your_api_key_here' },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
"https://api.apiverve.com/v1/cvelookup?cve=CVE-2021-44228&product=log4j&vendor=apache&severity=critical&year=2024&exploited=true&limit=10&page=1",
headers={"x-api-key": "your_api_key_here"},
timeout=15,
)
res.raise_for_status()
print(res.json()["data"])package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/cvelookup?cve=CVE-2021-44228&product=log4j&vendor=apache&severity=critical&year=2024&exploited=true&limit=10&page=1", nil)
req.Header.Set("x-api-key", "your_api_key_here")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.
Authentication
Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Parameters
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.
| Parameter | Type | Description |
|---|---|---|
cveOptional | string | CVE id, for example CVE-2021-44228. Use cve to look up one CVE, or product and/or vendor to search length 0–20 |
productOptional | string | Product name to search, for example log4j or http_server length 0–100 |
vendorOptional | string | Vendor name to search or to narrow a product search, for example apache length 0–100 |
severityOptional | string | Search filter: only CVEs with this headline severity |
yearOptional | integer | Search filter: only CVEs with this id year or published in this year range 1999–2100 |
exploitedOptionalPremium | boolean | Search filter: only CVEs in the CISA Known Exploited Vulnerabilities catalog |
limitOptional | integer | Search results per page, 1-25 (10 when omitted) range 1–25 |
pageOptional | integer | Search page number, starting at 1 range 1–10000 |
Response
Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.
{
"status": "ok",
"error": null,
"data": {
"cveId": "CVE-2021-44228",
"status": "Analyzed",
"published": "2021-12-10T10:15:09",
"lastModified": "2026-08-11T19:33:44",
"description": "Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker control…",
"severity": "critical",
"cvssScore": 10,
"cvssVersion": "3.1",
"cwes": [
"CWE-20",
"CWE-400",
"CWE-502",
"CWE-917"
],
"exploited": true,
"cvss": {
"v31": {
"score": 10,
"severity": "critical",
"vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
"source": "nvd",
"exploitabilityScore": 3.9,
"impactScore": 6
},
"v2": {
"score": 9.3,
"severity": "high",
"vector": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
"source": "nvd",
"exploitabilityScore": 8.6,
"impactScore": 10
}
},
"kev": {
"name": "Apache Log4j2 Remote Code Execution Vulnerability",
"dateAdded": "2021-12-10",
"dueDate": "2021-12-24",
"requiredAction": "For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks. Temporary mitigations using…",
"knownRansomwareUse": true
},
"epss": {
"score": 0.99999,
"percentile": 1,
"date": "2026-11-28"
},
"products": [
{
"vendor": "apache",
"product": "log4j",
"type": "application",
"versions": [
{
"startIncluding": "2.0.1",
"endExcluding": "2.3.1"
},
{
"startIncluding": "2.4.0",
"endExcluding": "2.12.2"
},
{
"startIncluding": "2.13.0",
"endExcluding": "2.15.0"
},
{
"version": "2.0",
"update": "beta9"
}
]
},
{
"vendor": "siemens",
"product": "6bk1602-0aa12-0tp0_firmware",
"type": "os",
"versions": [
{
"endExcluding": "2.7.0"
}
]
}
],
"productCount": 143,
"affected": [
{
"vendor": "Apache Software Foundation",
"product": "Apache Log4j2",
"versions": [
{
"version": "2.0-beta9",
"lessThan": "log4j-core*"
}
]
}
],
"references": [
{
"url": "http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html",
"tags": [
"Third Party Advisory",
"VDB Entry"
]
},
{
"url": "http://packetstormsecurity.com/files/165260/VMware-Security-Advisory-2021-0028.html",
"tags": [
"Third Party Advisory",
"VDB Entry"
]
},
{
"url": "http://packetstormsecurity.com/files/165261/Apache-Log4j2-2.14.1-Information-Disclosure.html",
"tags": [
"Exploit",
"Third Party Advisory",
"VDB Entry"
]
}
],
"referenceCount": 103,
"assigner": "security@apache.org",
"dataAsOf": {
"nvd": "2026-11-28",
"kev": "2026-11-27",
"epss": "2026-11-28"
}
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
cveId | string | "CVE-2021-44228" | CVE id |
status | string | "Analyzed" | NVD status: Analyzed, Modified, Awaiting Analysis, Undergoing Analysis, Deferred, Received or Rejected |
published | string | "2021-12-10T10:15:09" | Date and time published to NVD (UTC) |
lastModified | string | "2026-08-11T19:33:44" | Date and time last modified in NVD (UTC) |
description | string | "Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI…" | English description |
severity | string | "critical" | Severity from the newest CVSS version scored: critical, high, medium, low or none |
cvssScore | number | 10 | Base score from the newest CVSS version scored, 0-10 |
cvssVersion | string | "3.1" | CVSS version of severity and cvssScore: 4.0, 3.1, 3.0 or 2.0 |
cwes | array | [CWE-20, ...] | CWE weakness ids, for example CWE-502 |
exploitedPremium | boolean | true | True when the CVE is in CISA's Known Exploited Vulnerabilities catalog |
cvssPremium | object | {...} | Every CVSS version scored, keyed v40, v31, v30 and v2 |
v31Premium | object | {...} | |
scorePremium | number | 10 | CVSS 3.1 base score |
severityPremium | string | "critical" | CVSS 3.1 severity |
vectorPremium | string | "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H" | CVSS 3.1 vector string |
sourcePremium | string | "nvd" | nvd when NVD scored it, cna when only the assigning CNA did |
exploitabilityScorePremium | number | 3.9 | Exploitability sub-score |
impactScorePremium | number | 6 | Impact sub-score |
v2Premium | object | {...} | |
scorePremium | number | 9.3 | |
severityPremium | string | "high" | Severity from the newest CVSS version scored: critical, high, medium, low or none |
vectorPremium | string | "AV:N/AC:M/Au:N/C:C/I:C/A:C" | |
sourcePremium | string | "nvd" | |
exploitabilityScorePremium | number | 8.6 | |
impactScorePremium | number | 10 | |
kevPremium | object | {...} | CISA KEV entry, null when not listed |
namePremium | string | "Apache Log4j2 Remote Code Execution Vulnerability" | CISA's name for the vulnerability |
dateAddedPremium | string | "2021-12-10" | Date added to the catalog (YYYY-MM-DD) |
dueDatePremium | string | "2021-12-24" | Remediation due date for US federal agencies (YYYY-MM-DD) |
requiredActionPremium | string | "For all affected software assets for which updates exist, the only acceptable remediation actions ar…" | Required remediation action |
knownRansomwareUsePremium | boolean | true | True when known to be used in ransomware campaigns |
epssPremium | object | {...} | FIRST EPSS score, null when not scored |
scorePremium | number | 0.99999 | Probability of exploitation activity in the next 30 days, 0-1 |
percentilePremium | number | 1 | Share of scored CVEs with a lower or equal score, 0-1 |
datePremium | string | "2026-11-28" | Date of the EPSS scores (YYYY-MM-DD) |
productsPremium | array[2] | Affected products from NVD's CPE configurations: vendor, product, type and version ranges (first 100) | |
vendorPremium | string | "apache" | |
productPremium | string | "log4j" | |
typePremium | string | "application" | |
versionsPremium | array[4] | ||
startIncludingPremium | string | "2.0.1" | |
endExcludingPremium | string | "2.3.1" | |
productCount | number | 143 | Number of affected CPE products |
affectedPremium | array[1] | Affected products as the assigning CNA listed them: vendor, product and versions | |
vendorPremium | string | "Apache Software Foundation" | |
productPremium | string | "Apache Log4j2" | |
versionsPremium | array[1] | ||
versionPremium | string | "2.0-beta9" | |
lessThanPremium | string | "log4j-core*" | |
referencesPremium | array[3] | Up to 25 references: url and tags such as Patch, Vendor Advisory or Exploit | |
urlPremium | string | "http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html" | |
tagsPremium | array | [Third Party Advisory, ...] | |
referenceCount | number | 103 | Total number of references |
assigner | string | "security@apache.org" | The CNA that assigned the CVE |
dataAsOf | object | {...} | Dates of each source: nvd, kev and epss |
nvd | string | "2026-11-28" | |
kevPremium | string | "2026-11-27" | CISA KEV entry, null when not listed |
epssPremium | string | "2026-11-28" | FIRST EPSS score, null when not scored |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted | A key restriction or IP allow-list; see key scoping. |
429 | Rate limited, or out of credits | Read error to tell them apart; see rate limits. |
Use cases
- Vulnerability Management
- Enrich scanner findings with severity, CVSS vectors, KEV due dates and EPSS to decide what to patch first.
- Dependency and SBOM Scanning
- Search CVEs by product and vendor and compare affected version ranges with the versions you ship.
- Security Dashboards and Ticketing
- Turn a CVE id in a ticket, alert or chat message into a description, score and exploited flag.
- Threat Intelligence Feeds
- Track newly exploited and high-EPSS vulnerabilities for the vendors in your environment.
Other ways to use CVE Lookup
Set up CVE Lookup on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.
Related
More in Security: