VulCPE: Promising Research On Context-Aware Cybersecurity Vulnerability Retrieval and Management
VulCPE cleans broken CPE names with an LLM and matches vulnerability context as graphs, catching 93 of 100 real flaws with the fewest false alarms, but ships no code.
When companies scan their computers for known security flaws, most of vulnerability management solutions compare that installed software against a government database — the Common Platform Enumeration (CPE) Dictionary. That CPE database names every piece of software with a standard label, something like “vendor:product: version” (with many more potential levels of detail). The trouble is that the labels are often wrong or inconsistent. The same program can appear under two different names, or carry a typo, and the authors of “VulCPE: Context-Aware Cybersecurity Vulnerability Retrieval and Management” found that roughly half of all vendor names in the database don’t match up properly.
The consequence is two kinds of scanner mistakes: false alarms about flaws that don’t actually affect your system, and missed flaws because the names didn’t line up. Another, more insidious problem is that a program might be vulnerable only when running on a particular operating system, or only when a certain option is switched on, and simple name-matching ignores all of that context.
The authors built a system called VulCPE to fix both problems. It reads vulnerability reports with a language model and pulls out the software name, vendor, and version. It then cleans up the messy names against a hand-built dictionary, so that “Microsfot” and “Microsoft Corp” collapse into one entry. Finally, it draws both your system and each flaw as diagrams that show how the pieces fit together, including rules like “must have X and Y” or “either X or Y”, and only reports a flaw when the whole setup truly fits.
In their tests this caught the most real flaws (about 93 in every 100) while raising the fewest false alarms. And, it beat the government database and two popular open-source tools. The text-extraction component was right about 96 times out of 100, and the authors published a dataset of 5,000 labeled vulnerability reports so others can build on it.
For all that, this is still an academic project rather than a tool you could use. The paper releases no code, so the pipeline, the name-cleaning rules, and the graph matching exist only as descriptions, with many important details left out. The system’s accuracy leans on that hand-built dictionary of some 32,000 cleaned-up vendor names, which took a great deal of manual verification and was never published; anyone following along would have to rebuild it from scratch.
The published results also come from one ad-hoc test setup, two virtual machines and four routers, with the “correct answers” verified by the authors themselves, and it is presently impossible to run or check that evaluation. And even with the code, the numbers wouldn’t hold for long, because the underlying database changes daily and the study reflects a snapshot from August 2024.
The ideas are sound and clearly explained, and the dataset is genuinely useful. This would be an excellent project for one of the vulnerability management vendors to build upon, release as open source, and keep updated. We’ll see how that goes.