Skip to content

AI Glossary · Security & attacks

What is Fuzzing?

Fuzzing

Fuzzing is automated software testing that repeatedly generates or mutates inputs to find bugs. A fuzzer looks for failures such as crashes, hangs, or memory errors, which developers then investigate.

Also known as: fuzz testing

· Updated · Chain of Thought

AI Security

  • 1 episode
  • 1 guest clip
  • 2 sources

A fuzzing harness connects the testing engine to the code under test, such as a file parser. Coverage-guided fuzzers keep inputs that reach new parts of the program and mutate them to explore further. Runtime checks called sanitizers can expose memory errors or undefined behavior that would otherwise go unnoticed. LLVM’s libFuzzer documentation explains how these pieces work together.

A finding is a starting point for investigation. Developers need to reproduce it, identify the cause, assess its security impact, and test a fix. Some bugs affect reliability without providing an attack path. In the episode below, Dan Lorenc uses fuzzing as an example of why faster bug discovery still needs a workable remediation process. That distinction matters when assessing what AI-assisted vulnerability discovery actually delivers.

Read coverage and failures separately

Suppose a team fuzzes a document parser in an isolated test build with AddressSanitizer enabled. Three kinds of result mean different things:

ObservedShowsStill unknown
New path reachedMore code exercisedWhether that code behaves correctly
Sanitizer reportA memory error in the test buildSecurity impact in the deployed configuration
No failure after the runNo configured failure observedWhether other inputs fail

New coverage is progress in exploration, not another bug. A sanitizer report needs the triage described above, including whether the code path is reachable as deployed; AddressSanitizer is a testing tool whose runtime “is not meant to be linked against production executables” (Clang, AddressSanitizer). A clean run is bounded by the harness, the enabled checks and how long it ran.

When libFuzzer finds a crash, it writes the triggering input to disk, typically as crash-<sha1>, and passing saved files back to the fuzzer binary re-runs them without fuzzing, so the same binary works as a regression test (LLVM, libFuzzer). Keep that input with the build and harness versions and the enabled checks, group crashes by root cause instead of counting each crashing file as a separate vulnerability, and rerun the saved input after the fix. An unsafe model answer will not trip a sanitizer, so behavior failures belong in red teaming and evaluation.

Hear it from the guest

“But in the Linux kernel and a bunch of other critical projects, fuzzing has been outpacing remediation for a decade already. It's just one of these cases where the bottleneck is not the people finding bugs, but it's always the bottleneck to fix the bugs.”
Watch on YouTube

Quotes lightly edited to remove filler words.

Sources

  • LLVM: libFuzzer documentation — Explains coverage-guided, in-process fuzzing: fuzz targets, corpora, mutation and sanitizer-detected crashes.
  • Clang: AddressSanitizer — Documents memory-error detection and says the runtime is not meant to be linked against production executables. Checked November 2, 2026.

From the conversation