What is Fuzzing?

Feeding a program huge numbers of unexpected or malformed inputs to see whether it crashes or misbehaves. Crashes point to bugs, some of which are security flaws, so developers fuzz their own code before attackers do.

A fuzzer generates or mutates inputs, such as odd file contents, network messages or web requests, sends them to the target and watches for crashes, hangs and error reports. Coverage-guided fuzzers also track which parts of the code each input reaches and steer toward new ones, which finds deep bugs surprisingly fast. Each crash is then triaged: is it a harmless failure or a flaw such as a memory error that someone could abuse? Fuzzing is used by developers in their build pipelines, by vulnerability researchers, and by testers on software they are allowed to test. Continuous fuzzing with a regression gate keeps fixed bugs from coming back.

Source: NIST CSRC Glossary (NIST SP 800-95).

Practice it in a lab

Free, hands-on labs that teach Fuzzing.

Related terms

All glossary terms

Related