UAF Vulnerability Detection Method Based on Dynamic Tag Extension

Use-After-Free vulnerabilities pose significant threats in memory-unsafe languages like C/C++, potentially leading to memory corruption, data leakage, or arbitrary code execution. This paper presents a novel UAF detection method based on Memory Tagging Extension, which enhances traditional virtual address-based defenses by introducing dynamic tag embedding and tag-state tracking. By binding a memory tag to both allocated objects and their referencing pointers, and modifying the tag upon deallocation, this approach enables efficient detection of dangling pointer dereferences through tag mismatches. The system integrates seamlessly with the Linux ptmalloc2 allocator using dynamic linking, allowing for high compatibility without requiring source code modifications. Experimental results on the Juliet Test Suite demonstrate a detection accuracy of 98%, while evaluations on the MiBench benchmark confirm significantly reduced runtime and memory overhead compared to existing tools such as ASan, QASan, and CETS. The proposed method balances security, performance, and engineering practicality, making it particularly suitable for resource-constrained and security-critical environments like embedded or IoT systems.

Authors

Institutions

Publication Details

Published
2025-04-11
DOI
https://doi.org/10.1109/ainit65432.2025.11035403
Citations
1
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
1.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

UAF Vulnerability Detection Method Based on Dynamic Tag Extension

Li Gao, Chuanping Hu, Yan Zhuang
1 citations
Network Security and Intrusion Detection
1.49
article

UAF Vulnerability Detection Method Based on Dynamic Tag Extension

Li Gao, Chuanping Hu, Yan Zhuang
article en
1 citations

Abstract

Use-After-Free vulnerabilities pose significant threats in memory-unsafe languages like C/C++, potentially leading to memory corruption, data leakage, or arbitrary code execution. This paper presents a novel UAF detection method based on Memory Tagging Extension, which enhances traditional virtual address-based defenses by introducing dynamic tag embedding and tag-state tracking. By binding a memory tag to both allocated objects and their referencing pointers, and modifying the tag upon deallocation, this approach enables efficient detection of dangling pointer dereferences through tag mismatches. The system integrates seamlessly with the Linux ptmalloc2 allocator using dynamic linking, allowing for high compatibility without requiring source code modifications. Experimental results on the Juliet Test Suite demonstrate a detection accuracy of 98%, while evaluations on the MiBench benchmark confirm significantly reduced runtime and memory overhead compared to existing tools such as ASan, QASan, and CETS. The proposed method balances security, performance, and engineering practicality, making it particularly suitable for resource-constrained and security-critical environments like embedded or IoT systems.

Zhengzhou University (CN)
Openalex Percentile: Top 16%
Network Security and Intrusion Detection
1.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.