Skip to main content
Thirdwatchthirdwatch
Engineering

OSV vs NVD for Dependency Vulnerability Data

Understand when package-aware OSV records or broad NVD CVE metadata fit a vulnerability workflow.

Jul 21, 2026 · 2 min read · 263 words
See the scraper →

OSV and the National Vulnerability Database overlap, but they are not interchangeable exports. The OSV Vulnerability Scraper starts from a package coordinate, while an NVD workflow commonly starts from a CVE, keyword, CPE, severity, or publication window.

Choose by the question being asked

Use OSV when the input resembles PyPI:requests@2.31.0 or npm:lodash@4.17.20. Its affected records are organized around package ecosystems, ranges, and fixed events. That structure reduces the translation work between a lockfile or SBOM and an advisory.

Use NVD when the workflow needs broad CVE metadata, CVSS metrics, CWE classifications, CPE configurations, publication dates, or NIST enrichment. The Thirdwatch NVD CVE Scraper is a better fit for searching a technology name, reviewing a severity window, or studying CVE metadata beyond open-source package coordinates.

Connect the two through aliases, not fuzzy title matching. An OSV record can list a CVE alias, while NVD uses the CVE as its primary identifier. Preserve both IDs and each source URL. Do not overwrite OSV's package ranges with a guessed CPE interpretation, and do not assume every OSV advisory has a CVE.

For prioritization, add CISA KEV as another independent dimension. KEV answers whether CISA has evidence of exploitation in the wild; it does not replace package affectedness or NVD detail. A practical pipeline therefore separates inventory matching, vulnerability metadata, exploitation evidence, and asset risk.

Measure coverage on your own dependency set. Track unmatched components, alias conflicts, changed ranges, and stale assets. Using several sources is valuable only when their identities and evidence remain traceable rather than being flattened into one unexplained severity score.

Frequently asked questions

Should teams choose only one database?

Usually no. Package-aware and CVE-centric records answer different operational questions.

Which source is better for an SBOM?

OSV is often easier because it maps advisories directly to ecosystems and version ranges.

Related

Try it yourself

100 free credits, no credit card.

About 30 real searches. Add the MCP to Claude or Cursor in two minutes.