{"id":50484132,"url":"https://github.com/vehemont/nvdlib","last_synced_at":"2026-06-01T20:04:33.877Z","repository":{"id":39086190,"uuid":"417587444","full_name":"vehemont/nvdlib","owner":"vehemont","description":"A simple wrapper for the National Vulnerability CVE/CPE API","archived":false,"fork":false,"pushed_at":"2025-08-06T20:55:45.000Z","size":6913,"stargazers_count":114,"open_issues_count":8,"forks_count":33,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-05-29T13:06:15.443Z","etag":null,"topics":["api","cve","library","nist","nvd","nvdlib","python","python3","vulnerability","wrapper"],"latest_commit_sha":null,"homepage":"https://nvdlib.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vehemont.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-15T17:46:16.000Z","updated_at":"2026-03-31T09:31:39.000Z","dependencies_parsed_at":"2023-12-14T15:47:39.453Z","dependency_job_id":"5fd95ba5-42df-4730-9657-427e20ddfd3e","html_url":"https://github.com/vehemont/nvdlib","commit_stats":{"total_commits":89,"total_committers":7,"mean_commits":"12.714285714285714","dds":0.6067415730337078,"last_synced_commit":"f5812123e48097976d69079dbcf88b35f8473335"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/vehemont/nvdlib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vehemont%2Fnvdlib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vehemont%2Fnvdlib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vehemont%2Fnvdlib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vehemont%2Fnvdlib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vehemont","download_url":"https://codeload.github.com/vehemont/nvdlib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vehemont%2Fnvdlib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33790960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cve","library","nist","nvd","nvdlib","python","python3","vulnerability","wrapper"],"created_at":"2026-06-01T20:04:32.837Z","updated_at":"2026-06-01T20:04:33.868Z","avatar_url":"https://github.com/vehemont.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Simple NIST NVD API wrapper library\n\n\u003cimg src=\"docs/source/logo.png\" width=300 style=\"padding-right:15px\"\u003e\n\n**NVDlib** is a Python library that allows you to interface with the [NIST National Vulnerability Database](https://nvd.nist.gov/) (NVD), pull vulnerabilities (CVEs), and [Common Platform Enumeration](https://nvd.nist.gov/products/cpe) (CPEs) into easily accessible objects.\n\n![License](https://img.shields.io/github/license/bradleeriley/nvdlib) \n[![Written](https://img.shields.io/badge/Python%203.11.0-https%3A%2F%2Fpypi.org%2Fproject%2Fnvdlib%2F-yellowgreen)](https://pypi.org/project/nvdlib/)\n[![Documentation Status](https://readthedocs.org/projects/nvdlib/badge/?version=latest)](https://nvdlib.readthedocs.io/en/latest/?badge=latest)\n\n---\n\n### Features\n\n- Search the NVD for CVEs using all parameters allowed by the NVD API (recently updated to utilize version 2 of the API). Including search criteria such as CVE publish and modification date, keywords, severity, score, or CPE name.\n- Search CPE names by keywords, CPE match strings, or modification dates. Then pull the CVE ID's that are relevant to those CPEs. \n- Retrieve details on individual CVEs, their relevant CPE names, and more.\n- Built in rate limiting according to [NIST NVD recommendations](https://nvd.nist.gov/developers/start-here). \u003cbr\u003e Get an API key (https://nvd.nist.gov/developers/request-an-api-key) to allow for a delay argument to be passed. Otherwise it is 6 seconds between requests by default.\n\n### Install\n```bash\n$ pip install nvdlib\n```\n\n\n### Demo\n```python\n\u003e\u003e\u003e import nvdlib\n\u003e\u003e\u003e r = nvdlib.searchCVE(cveId='CVE-2021-26855')[0]\n\u003e\u003e\u003e print(r.v31severity + ' - ' + str(r.v31score))\nCRITICAL - 9.8\n\u003e\u003e\u003e print(r.descriptions[0].value)\nMicrosoft Exchange Server Remote Code Execution Vulnerability This CVE ID is unique from CVE-2021-26412, \nCVE-2021-26854, CVE-2021-26857, CVE-2021-26858, CVE-2021-27065, CVE-2021-27078.\n\u003e\u003e\u003e print(r.v31vector)\nCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H \n```\n\n\n### Development\n\nRun the tests with\n\n```bash\n$ pip install -e '.[dev]'\n$ pytest\n```\n\n### Documentation\n\nhttps://nvdlib.com\n\n#### More information\n\nThis is my first attempt at creating a library while utilizing all my Python experience from classes to functions.\n\nFor more information on the NIST NVD API for CPE and CVEs, see the documentation here: \nhttps://nvd.nist.gov/General/News/New-NVD-CVE-CPE-API-and-SOAP-Retirement\n\n---\n\nThis product uses data from the NVD API but is not endorsed or certified by the NVD.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvehemont%2Fnvdlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvehemont%2Fnvdlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvehemont%2Fnvdlib/lists"}