CVSS v3.1 calculator
Calculate CVSS v3.1 base, temporal and environmental scores. Pick the metrics or paste a vector string, and get the score, the rating and what each value means.
Paste a vector to load it, or choose the metrics below and the vector is written for you.
Choose a value for every base metric to see the score.
Base metrics
Temporal metrics (optional)
Environmental metrics (optional)
Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.
How to use the CVSS v3.1 calculator
- Choose a value for each of the eight base metrics, or paste a CVSS:3.1 vector string into the box.
- Read the base score and its rating. The line under each metric says what the chosen value means.
- Set the temporal metrics if you know the state of exploits and fixes.
- Set the environmental metrics to rescore the flaw for your own systems.
- Copy the vector string to keep with the finding.
About this tool
CVSS, the Common Vulnerability Scoring System, turns a description of a vulnerability into a number from 0.0 to 10.0. Version 3.1 is the one most CVE records still carry. Eight base metrics describe how the flaw is reached (attack vector, complexity, privileges, user interaction), whether it crosses a security boundary (scope), and what it costs in confidentiality, integrity and availability.
The base score is what advisories publish. It describes the flaw in general, not in your systems. The temporal metrics lower it when no exploit exists or a fix is out, and the environmental metrics rewrite it for your own setup: a database that holds nothing sensitive, a service that is not reachable from the network. This calculator follows the equations of the specification, including its Roundup function, and is tested against FIRST’s published examples.
The common mistake is to read the base score as risk. A 9.8 that nobody exploits can matter less than a 6.5 that is in every attack kit. Use the score to understand how bad a flaw could be, then look at whether it is being used: that is how HardenKit Scan ranks findings, with CISA KEV and EPSS next to the severity.
Sources
Questions
It is the compact form of the chosen metrics, such as CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Each part is a metric and its value. Anyone can recalculate the score from the vector, which is why advisories publish both.
The specification maps scores to ratings: 0.0 is None, 0.1 to 3.9 is Low, 4.0 to 6.9 is Medium, 7.0 to 8.9 is High and 9.0 to 10.0 is Critical. The rating is a label for the score and adds no information of its own.
The base score describes the vulnerability itself and does not change. The temporal score adjusts it for things that change over time: exploit code, fixes and how sure the report is. The environmental score adjusts it for one organization, using how much each of confidentiality, integrity and availability matters there and any mitigations in place.
Scope is Changed when exploiting the vulnerable component lets the attacker affect resources managed by a different security authority, such as a virtual machine escape reaching the host. A changed scope raises the score, and it changes the weight of Privileges Required.
Usually because of rounding. CVSS v3.1 defines Roundup with integer arithmetic so that floating point noise cannot add 0.1 to a score. A plain ceiling function gets some vectors wrong. This calculator implements Roundup as Appendix A of the specification describes it.