Automatic CWE Assignment for Vulnerabilities with Graph Neural Networks
The DOI matches its Crossref record; 3 of the 3 references it cites were found in a registry or an index.
Abstract
Vulnerability reports are essential for improving software security since they record many key information of vulnerabilities. In a report, CWE denotes the weakness of the vulnerability and thus helps understand the cause of the vulnerability quickly. Therefore, CWE assignment useful for categorizing newly discovered vulnerabilities. In this paper, we propose an automatic CWE assignment method with Graph Neural Networks. First, we prepare a dataset that contains 3,394 real world vulnerabilities from Linux, OpenSSL, Wireshark and many other software. Then, we extract statements with vulnerability syntax features from these vulnerabilities and use program slicing to slice them according to the categories of syntax features. On top of slices, we represent these slices with graphs that characterize the data dependency and control dependency between statements. Finally, we employ the Graph Neural Network to learn the hidden information from these graphs, and leverage the Siamese Network to compute the similarity between vulnerability functions, thereby performing assignment of CWE ID for these vulnerabilities. The experimental results show that the proposed method is effective compared to existing methods.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Complementing these, the Common Weakness Enumeration (CWE) Top 25 for 2023, published by NIST, highlights the most critical software vulnerabilities”
From A Novel Risk-Based Methodology for Enhancing Industrial Control Systems Security: A Systematic Review and Case Study (2025) · cites this paper as [22]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Cortes, C., & Vapnik, V. (1995) · Machine Learning · doi:10.1007/bf00994018 · Cited by 59,421
Neocognitron: A Self-Organizing Neural Network Model for a Mechanism of Visual Pattern Recognition
Fukushima, K., & Miyake, S. (1982) · Lecture Notes in Biomathematics · doi:10.1007/978-3-642-46466-9_18 · Cited by 991 · cited 1×
“We compare our method with other machine learning models, including Support Vector Machine (SVM)[23] and Naive Bayes[24] and common deep neural networks such as Convolutional Neural Network (CNN)[25], Long Short-Term Memory (LSTM)[8] and Graph Convolutional Network (GCN)[16], on the same dataset.”
MethodLearning Text Similarity with Siamese Recurrent Networks
Neculoiu, P., Versteegh, M., & Rotaru, M. (2016) · Proceedings of the 1st Workshop on Representation Learning for NLP · doi:10.18653/v1/w16-1617 · Cited by 341 · cited 1×
“Siamese networks is a twin network used for metric learning, i.e., it is composed of two identical sub-networks sharing the same weights[17].”
Background
Research works printed but not linked: 13
- 10.1109/DSAA53316.2021.9564227 · DOI
- 10.1109/ISCC50000.2020.9219568 · DOI
- 10.1007/978-3-030-63086-7_2 · DOI
- Shi, 2015, Convolutional LSTM network: A machine learning approach for precipitation nowcasting, Advances in neural information processing systems, 28
- 10.1109/TDSC.2021.3051525 · DOI · Paper page
- 10.1109/CGO.2004.1281665 · DOI · Paper page
- 10.5555/3044805.3045025 · doi:10.5555/3044805.3045025
- 10.1109/CSR51186.2021.9527965 · DOI
- 10.1007/978-3-319-49106-6_65 · doi:10.1007/978-3-319-49106-6_65
- 10.1007/s11042-022-12049-1 · DOI
- Zhou, 2019, Devign: Effective vulnerability identification by learning comprehensive program semantics via graph neural networks, Advances in neural information processing systems, 32
- 10.1016/j.cose.2021.102417 · DOI
- 10.5860/choice.33-1577 · DOI · Paper page
Cited by
David Echeverría López, A., Amor Pinilla, M., & Carvajal Mora, H. R. (2025) · IEEE Access · doi:10.1109/access.2025.3609252 · Cited by 1
“Complementing these, the Common Weakness Enumeration (CWE) Top 25 for 2023, published by NIST, highlights the most critical software vulnerabilities, aiding organizations in mitigating security risks throughout the software development lifecycle [21], [22], [23].”
Metadata
- Authors
- Liu, P., Ye, W., Duan, H., Li, X., Zhang, S., & Li, Y.
- Affiliations
- Guangxi Normal University (CN)
- Beihang University (CN)
- China People's Public Security University (CN)
- Venue
- 2023 3rd Asia-Pacific Conference on Communications Technology and Computer Science (ACCTCS)
- Publisher
- IEEE
- Published
- 2023-02
- Pages
- 188-193
- OpenAlex
- W4380030985
- Semantic Scholar
- 107e4efb697477fbcfb9877018db01f6734fadda
- Cited by
- 2
- References
- 3
- Citations by year
- 2025: 1 · 2024: 1
- FWCI
- 0.53
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- Asia-Pacific Conference on Communications Technology and Computer Science (ACCTCS) (publishedVersion)
- Funders
- National Natural Science Foundation of China
- Fundamental Research Funds for the Central Universities
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Web Application Security Vulnerabilities
- Keywords
- Common Weakness Enumeration, vulnerability classification, graph neural networks, program slicing, vulnerability reports, control flow graph, data dependencies, control dependencies, Siamese network, vulnerability functions, software security
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.