← Lab /Software

Exploits identify affected Java library versions with 83% recall and 99.3% precision

Running disclosed Java library exploits can accurately pinpoint affected versions

Software arXiv 27 Mar 2026 Measurement Real-world evidence

Published as “A Large-scale Empirical Study on the Generalizability of Disclosed Java Library Vulnerability Exploits”

Why it matters

Exploits can be leveraged to improve affected-version detection and keep vulnerability databases (e.g., CPE) up-to-date, strengthening supply-chain security for Java projects.

Summary

Disclosed Java library exploits can identify affected versions with 83.0% recall and 99.3% precision, outperforming most vulnerability databases and tools; after manually migrating 1,885 exploits using a taxonomy of 10 strategies, recall rises to 96.1% and 796 missing versions are added to the CPE dictionary. The study evaluates 259 exploits across 28,150 library versions.

What they found 3

  1. Exploits achieve 83.0% recall and 99.3% precision without migration.

    “Our results (RQ1) show that, even without migration, exploits achieve 83.0% recall and 99.3% precision in identifying affected versions in Java, outperforming most widely used vulnerability databases and assessment tools.”

  2. Manual migration recovers 77.1% of previously failed cases, raising recall to 96.1%.

    “thereby increasing the overall recall to 96.1%.”

  3. Environmental issues are highly resolvable, with 93.9% successfully migrated.

    “Among the 164 environmental issues, we successfully migrate 154 of them (93.9%), indicating that this category of failures is highly resolvable.”

Caveats 4

  • Some false positives arise from outdated validation logic in exploits, which can cause alarms in unaffected versions.
  • A subset of failures remain unresolvable due to missing artifacts or fundamental lack of required APIs in older library versions.
  • The primary threat to the generalizability of our conclusion arises from the exploit collection process. We collect vulnerabilities from a widely used package management system, Maven, for evaluation. Vulnerability exploits in other ecosystems are not involved in our evaluation, which may limit the generalizability of the results across different ecosystems.
  • The collected exploits may not correspond directly to the vulnerabilities, and when constructing exploits based on vulnerability patches, irrelevant tests may interfere.

What’s new here 4

  • First large-scale empirical validation of exploit cross-version applicability (259 exploits, 28 k versions).
  • Systematic manual migration of failed exploits, producing a taxonomy of 10 migration strategies.
  • Contribution of 796 previously missing affected versions to the official CPE dictionary.
  • Comprehensive analysis of root causes (environment, library incompatibility, exploit flaws) for exploit failures.