Automatic Library Fuzzing through API Relation Evolvement

Software libraries are foundational components in modern software ecosystems.Vulnerabilities within these libraries pose significant security threats.Fuzzing is a widely used technique for uncovering software vulnerabilities.However, its application to software libraries poses considerable challenges, necessitating carefully crafted drivers that reflect diverse yet correct API usages.Existing works on automatic library fuzzing either suffer from high false positives due to API misuse caused by arbitrarily generated API sequences, or fail to produce diverse API sequences by overly relying on existing code snippets that express restricted API usages, thus missing deeper API vulnerabilities.This work proposes NEXZZER, a new fuzzer that automatically detects vulnerabilities in libraries.NEXZZER employs a hybrid relation learning strategy to continuously infer and evolve API relations, incorporating a novel driver architecture to augment the testing coverage of libraries and facilitate deep vulnerability discovery.We evaluated NEXZZER across 18 libraries and the Google Fuzzer Test Suite.The results demonstrate its considerable advantages in code coverage and vulnerabilityfinding capabilities compared to prior works.NEXZZER can also automatically identify and filter out most API misuse crashes.Moreover, NEXZZER discovered 27 previously unknown vulnerabilities in well-tested libraries, including OpenSSL and libpcre2.At the time of writing, developers have confirmed 24 of them, and 9 were fixed because of our reports.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.14722/ndss.2025.240750
Citations
2
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
6.49

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic Library Fuzzing through API Relation Evolvement

Junzhe Li, Changhua Luo, Qingyu Zhang, Changqing Sun et al.
2 citations
Software Engineering Research
6.49
article

Automatic Library Fuzzing through API Relation Evolvement

Junzhe Li, Changhua Luo, Qingyu Zhang, Changqing Sun, Jiayi Lin, N. Zhou
article en
2 citations

Abstract

Software libraries are foundational components in modern software ecosystems.Vulnerabilities within these libraries pose significant security threats.Fuzzing is a widely used technique for uncovering software vulnerabilities.However, its application to software libraries poses considerable challenges, necessitating carefully crafted drivers that reflect diverse yet correct API usages.Existing works on automatic library fuzzing either suffer from high false positives due to API misuse caused by arbitrarily generated API sequences, or fail to produce diverse API sequences by overly relying on existing code snippets that express restricted API usages, thus missing deeper API vulnerabilities.This work proposes NEXZZER, a new fuzzer that automatically detects vulnerabilities in libraries.NEXZZER employs a hybrid relation learning strategy to continuously infer and evolve API relations, incorporating a novel driver architecture to augment the testing coverage of libraries and facilitate deep vulnerability discovery.We evaluated NEXZZER across 18 libraries and the Google Fuzzer Test Suite.The results demonstrate its considerable advantages in code coverage and vulnerabilityfinding capabilities compared to prior works.NEXZZER can also automatically identify and filter out most API misuse crashes.Moreover, NEXZZER discovered 27 previously unknown vulnerabilities in well-tested libraries, including OpenSSL and libpcre2.At the time of writing, developers have confirmed 24 of them, and 9 were fixed because of our reports.

National Natural Science Foundation of China
Openalex Percentile: Top 5%
Software Engineering Research
6.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.