Every year, I get asked, “How many CVEs do you think will be published this year?“
I am always willing to take a guess, but last year, I read Time Series Forecasting in Python. As I started to read more about the Kalman Filter, I figured it would work great for predicting CVE growth, so I built a simple model to test it out.
2024 Prediction
My 2024 CVE model using the Kalman Filter is predicting 32,600 published CVEs.

Here is the monthly breakdown:
| Month | CVEs Predicted |
|---|---|
| January | 2,661 |
| February | 2,562 |
| March | 2,637 |
| April | 2,666 |
| May | 2,652 |
| June | 2,709 |
| July | 2,721 |
| August | 2,741 |
| September | 2,779 |
| October | 2,795 |
| November | 2,822 |
| December | 2,855 |
| Total | 32,600 |
2023 Review
The model for 2023 underestimated the number of CVEs by 1,670, which I felt was really good for the first attempt.
| Month | CVEs Predicted | CVEs Actual | Difference | Percentage |
|---|---|---|---|---|
| January | 2,178 | 2,337 | 159 | 107% |
| February | 2,158 | 2,123 | -35 | 98% |
| March | 2,260 | 2,517 | 257 | 111% |
| April | 2,202 | 2,330 | 128 | 106% |
| May | 2,234 | 2,418 | 184 | 108% |
| June | 2,271 | 2,391 | 120 | 105% |
| July | 2,256 | 2,307 | 51 | 102% |
| August | 2,289 | 2,478 | 189 | 108% |
| September | 2,305 | 2,149 | -156 | 93% |
| October | 2,315 | 2,680 | 365 | 116% |
| November | 2,340 | 2,452 | 112 | 105% |
| December | 2,357 | 2,653 | 296 | 113% |
| Total | 27,165 | 28,835 | 1,670 | 106% |
What is the Kalman Filter?
The Kalman Filter algorithm uses a series of measurements observed over time to produce estimates that tend to be more accurate than those based on a single measurement alone. In essence, it helps predict the future state of a system based on its current state and past trends.
What Python Library Did You Use?
I have been using Darts by Unit8 as it is fully featured and easy to implement.
Code
All the code for this blog post is in this Github Repository, and I plan on automating and updating it as I get more time.