NVD++

Migrate from nist-nvd to nist-nvd2

nist-nvd is deprecated. Move to nist-nvd2: what changes in requests, responses and backups, with working examples.
nist-nvd is deprecated as of November 16, 2026 and will be disabled on May 15, 2027. Move to nist-nvd2 before then.

nist-nvd serves NVD data in the NVD 1.0 JSON schema. nist-nvd2 serves the same data in the NVD 2.0 schema. Moving across is a schema migration, not a URL change: the request needs only a new index name, but the code that reads the response has to change.

nist-nvd has always been generated from the NVD 2.0 data in nist-nvd2, converted down to the 1.0 shape. Moving to nist-nvd2 gives you the source data, with nothing dropped in conversion.

Timeline

DateWhat happens
November 16, 2026nist-nvd is deprecated. It keeps working normally, and every response carries Deprecation and Sunset headers.
May 15, 2027nist-nvd is disabled. Requests to /v3/index/nist-nvd and /v3/backup/nist-nvd stop working.

Your integration can watch for the headers:

Deprecation: @1794787200
Sunset: Sat, 15 May 2027 00:00:00 GMT
Link: <https://docs.vulncheck.com/community/nist-nvd/migrate-to-nvd2>; rel="deprecation"; type="text/html"

What to use instead

You useMove toNotes
/v3/index/nist-nvd/v3/index/nist-nvd2Same access, Community included. Same query parameters.
/v3/backup/nist-nvd/v3/backup/nist-nvd2Different file layout, see Backups.
Your own NVD 2.0 API client/rest/json/cves/2.0Use this if your code already reads NIST's NVD API 2.0. See NVD API Compatibility.

Licensed Exploit & Vulnerability Intelligence subscribers can also use vulncheck-nvd2: the same 2.0 schema with VulnCheck extensions and earlier data.

What stays the same

  • Authentication, the response envelope (_meta and data), paging with page, limit and cursor, and errors.
  • Every query parameter. cve, pubStartDate, pubEndDate, lastModStartDate, lastModEndDate, sort and the rest take the same values and return the same records on both indices.
  • vcConfigurations and vcVulnerableCPEs, VulnCheck's CPE enrichment. vcVulnerableCPEs is identical. vcConfigurations follows the shape of configurations in each schema. See CPE schema.
  • _timestamp, the time VulnCheck last updated the record.

Change the request

Only the index name changes.

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/nist-nvd?cve=CVE-2024-3400' \
    --header 'Authorization: Bearer insert_token_here'

Change how you read the response

The 1.0 record nests its data under cve, impact and configurations objects. The 2.0 record is flat, and most lists carry the source that supplied each value.

The same CVE in both schemas, trimmed:

{
  "cve": {
    "CVE_data_meta": { "ID": "CVE-2024-3400", "ASSIGNER": "psirt@paloaltonetworks.com" },
    "problemtype": {
      "problemtype_data": [{ "description": [{ "lang": "en", "value": "CWE-77" }] }]
    },
    "references": {
      "reference_data": [{
        "url": "https://security.paloaltonetworks.com/CVE-2024-3400",
        "name": "https://security.paloaltonetworks.com/CVE-2024-3400",
        "refsource": "MISC",
        "tags": ["Vendor Advisory"]
      }]
    },
    "description": {
      "description_data": [{ "lang": "en", "value": "A command injection ..." }]
    }
  },
  "impact": {
    "baseMetricV3": {
      "cvssV3": { "version": "3.1", "baseScore": 10, "baseSeverity": "CRITICAL" },
      "exploitabilityScore": 3.9,
      "impactScore": 6
    }
  },
  "configurations": {
    "CVE_data_version": "4.0",
    "nodes": [{
      "operator": "OR",
      "cpe_match": [{
        "vulnerable": true,
        "cpe23Uri": "cpe:2.3:o:paloaltonetworks:pan-os:10.2.0:-:*:*:*:*:*:*",
        "cpe_name": [{ "cpe23Uri": "cpe:2.3:o:paloaltonetworks:pan-os:10.2.0:-:*:*:*:*:*:*" }]
      }]
    }]
  },
  "publishedDate": "2024-04-12T08:15Z",
  "lastModifiedDate": "2026-06-17T07:44Z"
}

Field mapping

nist-nvd (1.0)nist-nvd2 (2.0)
cve.CVE_data_meta.IDid
cve.CVE_data_meta.ASSIGNERsourceIdentifier
cve.data_type, cve.data_format, cve.data_versionRemoved. They were constants.
cve.description.description_data[]descriptions[]
cve.problemtype.problemtype_data[].description[].valueweaknesses[].description[].value
cve.references.reference_data[].urlreferences[].url
cve.references.reference_data[].tagsreferences[].tags
cve.references.reference_data[].name, .refsourceRemoved. Use references[].source.
impact.baseMetricV3.cvssV3metrics.cvssMetricV31[].cvssData or metrics.cvssMetricV30[].cvssData
impact.baseMetricV3.exploitabilityScore, .impactScoremetrics.cvssMetricV31[].exploitabilityScore, .impactScore (or cvssMetricV30)
impact.baseMetricV2.cvssV2metrics.cvssMetricV2[].cvssData
impact.baseMetricV2.severitymetrics.cvssMetricV2[].baseSeverity
impact.baseMetricV2.acInsufInfo, obtainAllPrivilege, obtainUserPrivilege, obtainOtherPrivilege, userInteractionRequiredSame names on metrics.cvssMetricV2[]
impact.metricV40metrics.cvssMetricV40[].cvssData
impact.ssvc[]metrics.ssvcV203[]
configurations.nodes[]configurations[].nodes[]
configurations.nodes[].children[]configurations[].nodes[], joined by configurations[].operator
…cpe_match[].cpe23Uri…cpeMatch[].criteria
…cpe_match[].vulnerable, versionStartIncluding, versionStartExcluding, versionEndIncluding, versionEndExcludingSame names on …cpeMatch[]
…cpe_match[].cpe_name[]Removed. See Matching CPEs.
vcConfigurations (object)vcConfigurations (array, same shape as configurations)
vcVulnerableCPEsvcVulnerableCPEs (unchanged)
publishedDatepublished
lastModifiedDatelastModified
—New: vulnStatus, cisaExploitAdd, cisaActionDue, cisaRequiredAction, cisaVulnerabilityName, cveTags, evaluatorComment, evaluatorSolution, evaluatorImpact, vendorComments, affected, vcConfigurationsWithPlatforms

Behaviour to handle

Most of the work is here. nist-nvd simplified the 2.0 data to fit the 1.0 schema, and nist-nvd2 gives you the full picture instead.

More than one score per CVSS version

In 1.0, impact.baseMetricV3 holds one score. In 2.0, each CVSS version is a list with one entry per source. Each entry has a source, such as nvd@nist.gov or the CNA's identifier, and a type: Primary for NVD's own score, Secondary for anyone else's.

CVSS 3.0 and 3.1 are separate lists in 2.0 (cvssMetricV30 and cvssMetricV31). In 1.0 they shared baseMetricV3, and you had to read cvssV3.version to tell them apart.

nist-nvd chose a single v3 score like this:

  1. If cvssMetricV31 has exactly one entry, use it, even if it is the CNA's Secondary score.
  2. Otherwise use the Primary entry in cvssMetricV31.
  3. Otherwise use the Primary entry in cvssMetricV30.

CVSS v2 and v4.0 used the Primary entry. A v4.0 list with a single entry was used whatever its type.

To keep your current numbers, apply the same rule (see the Python example). To take only NVD's own scores, read the Primary entries.

Scores carry more fields

nist-nvd copied only the base metrics. In nist-nvd2, CVSS v3 cvssData also has temporalScore and environmentalScore. Both are 0 when not set, so don't read 0 as a real score.

Weaknesses from every source

cve.problemtype in 1.0 listed only NVD's Primary CWEs. weaknesses in 2.0 also includes the CNA's CWEs as Secondary entries, as in the example above. Filter on type == "Primary" to keep the 1.0 set.

Descriptions in more than one language

1.0 descriptions were English only. 2.0 descriptions can include other languages, so filter on lang == "en".

Rejected CVEs

Both indices include rejected CVEs. In 1.0 the only sign is the description, which starts Rejected reason:. In 2.0, vulnStatus is "Rejected", so filter on that.

vulnStatus also shows where NVD is in its analysis, for example Awaiting Analysis, Analyzed, Modified or Deferred.

Configurations

  • In 1.0, a configuration with several nodes became one node with children. In 2.0, each configuration is an entry in configurations[], with its own operator and a list of nodes.
  • 2.0 adds negate, on configurations and on nodes. When negate is true the node's result is inverted. 1.0 dropped this, so a 1.0 configuration could read as the opposite of NVD's. negate is absent when it is not set.

Matching CPEs

In 1.0, each cpe_match listed the matching CPE names in cpe_name[]. In 2.0, each cpeMatch has a matchCriteriaId instead. There are two ways to get the CPE names:

  • VulnCheck's configurations: vcVulnerableCPEs already lists them, so no lookup is needed. See CPE schema.
  • NVD's configurations: look up the matchCriteriaId with /rest/json/cpematch/2.0:
curl --request GET \
    --url 'https://api.vulncheck.com/rest/json/cpematch/2.0?matchCriteriaId=F54B40AC-A555-4447-B147-576D17CAB12A' \
    --header 'Authorization: Bearer insert_token_here'

The CPE names are in matchStrings[].matchString.matches[].cpeName.

References

name and refsource were not part of the 2.0 data, so 1.0 filled them in: name was usually the URL and refsource was often MISC. 2.0 gives each reference's real source.

Dates

nist-nvdnist-nvd2
Format2024-04-12T08:15Z2024-04-12T08:15:06.230
PrecisionMinutesMilliseconds
Time zoneZ suffixNone; values are UTC

Parse 2.0 dates as UTC. A parser that requires the Z suffix will reject them.

SSVC

impact.ssvc[] in 1.0 was a flat summary with upper-case values:

{ "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "exploitation": "ACTIVE", "automatable": "YES", "technicalImpact": "TOTAL" }

metrics.ssvcV203[] in 2.0 keeps the full record, with lower-case values:

{
  "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
  "ssvcData": {
    "options": [{ "exploitation": "active" }, { "automatable": "yes" }, { "technicalImpact": "total" }],
    "role": "CISA Coordinator",
    "version": "2.0.3",
    "id": "CVE-2024-3400",
    "timestamp": "2024-04-17T04:00:13.543064Z"
  }
}

Backups

The backup endpoint and its response are the same. The archive inside is different.

nist-nvdnist-nvd2
ArchiveOne .zipOne .zip
FilesOne per CVE year: nvdcve-1.1-1999.json … nvdcve-1.1-2026.jsonPages of up to 2,000 CVEs: nvdcve-2.0-000.json.gz, nvdcve-2.0-001.json.gz, …
File encodingJSONgzip-compressed JSON inside the zip
OrderBy yearNone. Pages are not grouped by year or sorted by ID.
File wrapperNVD 1.1 feed: CVE_Items[]NVD API 2.0 response: vulnerabilities[].cve
Record1.0 record, as above2.0 record, as above
import json
import zipfile

with zipfile.ZipFile("nist-nvd.zip") as archive:
    for name in archive.namelist():  # nvdcve-1.1-YYYY.json
        feed = json.loads(archive.read(name))
        for item in feed["CVE_Items"]:
            print(item["cve"]["CVE_data_meta"]["ID"], item["lastModifiedDate"])

Examples

Each example looks up a CVE in nist-nvd2 and prints its status, KEV date and CVSS v3 score.

import os

import requests

BASE_URL = "https://api.vulncheck.com/v3"
HEADERS = {"Authorization": f"Bearer {os.environ['VULNCHECK_API_TOKEN']}"}


def nist_nvd_cvss_v3(metrics):
    """Pick the CVSS v3 entry that nist-nvd would have shown in impact.baseMetricV3."""
    v31 = metrics.get("cvssMetricV31") or []
    if len(v31) == 1:
        return v31[0]
    for key in ("cvssMetricV31", "cvssMetricV30"):
        for entry in metrics.get(key) or []:
            if entry["type"] == "Primary":
                return entry
    return None


resp = requests.get(f"{BASE_URL}/index/nist-nvd2", headers=HEADERS, params={"cve": "CVE-2024-3400"})
resp.raise_for_status()

for cve in resp.json()["data"]:
    description = next(d["value"] for d in cve["descriptions"] if d["lang"] == "en")
    cvss = nist_nvd_cvss_v3(cve.get("metrics", {}))
    print(cve["id"], cve["vulnStatus"], cve["published"])
    print("  CVSS:", cvss and cvss["cvssData"]["baseScore"], cvss and cvss["source"])
    print("  KEV: ", cve.get("cisaExploitAdd"))
    print("  ", description)

Checklist

  • Change nist-nvd to nist-nvd2 in every request.
  • Map the fields you read using the field mapping.
  • Choose how to pick one CVSS score from several sources.
  • Filter descriptions on lang, and weaknesses on type if you want the 1.0 set.
  • Handle vulnStatus: "Rejected".
  • Respect negate in configurations.
  • Parse dates without a Z suffix.
  • If you use backups, read the gzip pages and the vulnerabilities[].cve wrapper.
  • Watch for the Deprecation and Sunset headers, and finish before May 15, 2027.

Reference

Questions about migrating? Contact support@vulncheck.com.