For each of a set of weakened bounds checks, the exact number of bad inputs it accepts, counted rather than sampled
For each of the 42 weakened checks, the count of wrongly accepted inputs is exact, and every one of them accepts at least some bad inputs.
A bounds check that is almost right can pass tests and still accept bad inputs. The lab took a set of deliberately weakened checks, in a model of the input fields behind the Heartbleed bug class, and counted exactly how many bad inputs each one accepts across the model's whole input space, instead of sampling.
What it shows
Testing a weakened check tells you whether it ever fails. Counting tells you how badly. The lab counted, for each weakened check, exactly how many inputs in the model's input space it wrongly accepts. The counts range widely, and none is zero, so every weakened check in the set is measurably wrong.
Why it matters, and to whom
This is for teams scoring patches written by people or AI tools. Two patches can both be wrong while one lets through far more bad inputs than the other. An exact count ranks them by how wrong they are, which a pass or fail cannot.
How it was checked
The evidence file names the command that re-reads the claimed numbers from the lab's artifact. The lab cross-checked its counting with a brute-force check of its own.
What it does not claim
- It does not claim anything about OpenSSL's real code. The counts are facts about the model.
- It does not claim an outside check. No third-party counting tool was used.
- It does not publish a way to attack any system. The bug class is public, and the page gives counts only.
How to reproduce it
The evidence file names the command and the commit of the lab's code. A stronger test would recount with a published exact model counter.
Prior art
- The Heartbleed bug (CVE-2014-0160): the published bug class whose input fields the model describes
- Model counting (#SAT): the problem of counting solutions exactly rather than finding one
Evidence
- The evidence file for this result
- The published claim, with its limits
- All our published files, each with a fingerprint you can check
Related results across the group
- Thousands of candidate code patches scored by proof: each one certified sound, proven unsound, or left undecided
- Six slightly weakened bounds checks pass random fuzzing, and two coverage-guided fuzzers find all six
- A certificate proves that one small modelled neural-network cell has no adversarial input anywhere in a stated region