LICENSING.md
AFL++ is licensed under the GNU Affero General Public License, version 3 or later (AGPL-3.0-or-later).
This page explains the licensing in plain language. The authoritative texts are the license files themselves (linked below).
afl-fuzz fuzzer.SPDX-License-Identifier header — that header is what applies,
so check the file you use and adhere to it.Anyone may use, study, modify, and distribute AFL++ under the terms of the GNU AGPL-3.0-or-later. The main obligation to be aware of: if you modify AFL++ and let others interact with your modified version over a network, the AGPL requires you to offer them the corresponding source code. If that is fine for you, you are done — no payment, no donation, nothing else required.
Many AFL++ source files carry an SPDX-License-Identifier: Apache-2.0 marker and
remain available under the Apache License 2.0; you may
reuse those individual files in your own projects under Apache-2.0. Other files
are marked SPDX-License-Identifier: AGPL-3.0-or-later. Always check the header
of the file you use and adhere to the license stated there.
Note: the combined afl-fuzz program links AGPL-licensed files, so any
binary or larger work that includes them is AGPL as a whole. The Apache-2.0
option applies to the Apache-2.0 files taken individually, not to the combined
AGPL work.
If your organization cannot or does not want to comply with the AGPL, you can obtain a one-year commercial license that lets you use AFL++ without the AGPL's obligations. See the full terms in LICENSE.COMMERCIAL.
The short version:
AFL++ bundles third-party code that keeps its own separate license, including
(non-exhaustively) xxHash (BSD-2-Clause), t1ha (Zlib), libFuzzer
(Apache-2.0-with-LLVM-exception), and various git submodules. These are not
relicensed and are governed solely by their own license texts. Each such file
carries its own SPDX-License-Identifier.
| File | What it is |
|---|---|
LICENSE | Full AGPL-3.0 text — the project's overall license |
LICENSE.Apache-2.0 | Full Apache-2.0 text — the license of the Apache-2.0 files |
LICENSE.COMMERCIAL | The optional, donation-based commercial license |
SPDX-License-Identifier: headers | Per-file license markers in the source |
Questions about licensing: [email protected]