Get CVE Change History
nvd_get_cve_historyRetrieve the change history for a single CVE — CVSS score revisions, reference additions, status transitions (e.g., "Received" → "Analyzed"), and CPE configuration updates. Use when tracking a CVE's escalation or investigating when a score changed. Events are returned newest-first by default; pass order="oldest" for the CVE's earliest events. For the current record, call nvd_get_cve instead. The NVD history endpoint is significantly slower than other NVD endpoints, especially without an API key — set NVD_API_KEY for reliable operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cveId | Yes | CVE identifier to retrieve history for (e.g., "CVE-2021-44228"). | |
| limit | No | Maximum number of change events to return (default 20, max 2000). | |
| order | No | Which end of the history to page from. Default "newest" returns the most recent events first, which is what escalation and re-score questions need. "oldest" returns NVD's native order (the CVE's first events first) and costs one upstream request, or two when the offset overruns the history; "newest" costs up to two on any history longer than limit. | newest |
| offset | No | Zero-based offset for paginating through change events, counted from whichever end order anchors to: offset 0 is the newest event under the default order="newest", and the oldest event under order="oldest". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cveId | No | The CVE ID for which history was retrieved. | |
| error | No | Present when the call failed. Absent on success. | |
| order | No | Which end of the history this page was anchored to. | |
| notice | No | Guidance on the shape of this page. When no events came back it distinguishes an offset past the end of the history, from an empty page NVD returned inside a range it says has events, from a CVE NVD holds no history for — the last of which covers both a record it has never revised and a CVE ID it does not hold. On a partial page it names the offset that reaches the next one, counted from the same end order anchors to. | |
| offset | No | Page offset used in this query. | |
| changes | No | CVE change events ordered to match the requested order — newest first by default, oldest first when order="oldest". | |
| returned | No | Number of change events returned in this response. | |
| totalCount | No | Total change events on record for this CVE. |