← Lab /People & policy

SemFuzz uncovers five previously unknown semantic vulnerabilities in network protocols

SemFuzz can detect deep semantic vulnerabilities in protocol implementations by generating rule-violating test cases

People & policy arXiv 6 Mar 2026 Method Prototype evidence

Published as “SemFuzz: A Semantics-Aware Fuzzing Framework for Network Protocol Implementations”

Why it matters

SemFuzz enables practical discovery of deep semantic bugs in closed-source network protocol stacks without requiring source code or instrumentation.

Summary

SemFuzz discovered 10 confirmed vulnerabilities (including 5 previously unknown ones with 4 CVEs) across seven widely deployed protocol implementations, demonstrating a detection accuracy of 62.5%. It outperformed four prior fuzzing approaches, the best of which found only 5 real vulnerabilities. The framework leverages LLMs to extract semantic rules from RFCs, generates intent-driven test cases that deliberately violate those rules, and uses a precise semantic oracle to compare expected versus actual responses. However, 6 of the 16 reported issues were false positives and test-case generation accuracy for TLS 1.3 dropped to 79%.

What they found 2

  1. SemFuzz identified 16 potential vulnerabilities, 10 of which were confirmed by developers.

    “SemFuzz discovered a total of 16 potential vulnerabilities, among which 10 were confirmed by developers as real vulnerabilities, resulting in an accuracy of 62.5%.”

  2. SemFuzz outperformed existing fuzzers, which together detected only 5 real vulnerabilities.

    “Table 4 shows the number of real vulnerabilities detected by baseline methods: BLEEM (5), ChatAFL (1), Hdiff (2), and Fuzztruction-Net (0).”

Caveats 7

  • Six of the 16 reported issues were false positives (incorrect action sequence, mutation strategy errors, configuration inconsistencies, or non-exploitable bugs).
  • Overall detection accuracy was 62.5%, meaning a substantial fraction of reported findings were not real vulnerabilities.
  • Test-case generation accuracy for TLS 1.3 dropped to 0.79, lower than the >0.90 accuracy for other protocols.
  • The effectiveness of the framework depends on two user-provided inputs: a list of protocol message types to test and corresponding seed traffic.
  • We did not use traditional fuzzing metrics such as code coverage because SemFuzz is designed for black-box scenarios and targets closed-source protocol implementations (e.g., tcpip.sys), for which instrumentation to obtain coverage is typically infeasible.
  • In addition, 6 potential vulnerabilities were confirmed to be false positives: one caused by an incorrect action sequence generation, one triggered by an incorrect mutation strategy, two due to inconsistencies in the experimental configuration, and the remaining two were deemed non-vulnerabilities by developers because they were difficult to exploit.
  • For TLS 1.3 (RFC 8446), the accuracy of test case generation drops to 0.79, which is notably lower than that of other protocols (all above 0.90).

What’s new here 4

  • Uses large language models to automatically extract structured semantic rules from RFC specifications.
  • Generates test inputs that intentionally violate specific construction constraints, encoding clear testing intent.
  • Introduces a specification-based semantic oracle that validates responses against expected processing expectations.
  • Operates as a black-box fuzzer, requiring no instrumentation, thus applicable to closed-source binary protocol stacks.