SPDX Pairwise Compatibility · Both Directions

CC0-1.0 & GPL-2.0-only License Compatibility

Directional engineering analysis comparing Creative Commons Zero v1.0 and GNU GPL v2.0 only across dependency linking, patent terms, and redistribution obligations.

CC0-1.0 (Dep) → GPL-2.0-only (Project) COMPATIBLE

CC0-1.0 dependency fits cleanly into GPL-2.0-only

CC0-1.0 waives copyright restrictions worldwide with public-domain fallback, allowing GPL-2.0-only projects to consume it cleanly (noting CC0 §4(a) grants no patent rights).

  • Retain CC0-1.0 notice in SBOM/provenance tracking.
  • Be aware CC0-1.0 does not grant upstream patent rights.
GPL-2.0-only (Dep) → CC0-1.0 (Project) INCOMPATIBLE

GPL-2.0-only dependency cannot be used inside a CC0-1.0 project

GPL-2.0-only is strong copyleft: linking a GPL-2.0-only dependency forces the entire combined distributed work to be licensed strictly under GPL-2.0-only, conflicting with CC0-1.0.

  • Do not link GPL-2.0-only libraries inside a CC0-1.0 distribution.
  • Either relicense the whole project to GPL-2.0-only (if all deps are v2-compatible) or swap out the GPL-2.0-only dependency.

Side-by-Side SPDX License Obligations

Attribute CC0-1.0 GPL-2.0-only
Full Name Creative Commons Zero v1.0 GNU GPL v2.0 only
OSI Approved No Yes
Copyleft Scope None (Public Domain Waiver) Strong (Combined work)
Patent Terms Explicitly excludes patent rights (§4a) Implicit only (§7 liberty-or-death)
Key Rule Broad copyright waiver that explicitly excludes any grant or waiver of patent rights under Section 4(a). Classic strong copyleft license requiring derivative and statically/dynamically linked works to be distributed strictly under GPL-2.0-only.

Interactive Compatibility Explorer

Informational engineering matrix based on SPDX / FSF / OSI guidance — not formal legal advice. Consult qualified counsel for commercial license exceptions.
CC0-1.0 (Dependency) → GPL-2.0-only (Project) COMPATIBLE

CC0-1.0 dependency fits cleanly into GPL-2.0-only

CC0-1.0 waives copyright restrictions worldwide with public-domain fallback, allowing GPL-2.0-only projects to consume it cleanly (noting CC0 §4(a) grants no patent rights).

Engineering Obligations & Actions
  • Retain CC0-1.0 notice in SBOM/provenance tracking.
  • Be aware CC0-1.0 does not grant upstream patent rights.

Frequently Asked Questions

Can a GPL-2.0-only project use a CC0-1.0 dependency?

COMPATIBLE: CC0-1.0 waives copyright restrictions worldwide with public-domain fallback, allowing GPL-2.0-only projects to consume it cleanly (noting CC0 §4(a) grants no patent rights).

Can a CC0-1.0 project use a GPL-2.0-only dependency?

INCOMPATIBLE: GPL-2.0-only is strong copyleft: linking a GPL-2.0-only dependency forces the entire combined distributed work to be licensed strictly under GPL-2.0-only, conflicting with CC0-1.0.

Is this matrix formal legal advice?

No. This is an informational engineering compatibility matrix based on SPDX, FSF, and OSI licensing guidance. Consult qualified legal counsel for binding commercial or dual-licensing reviews.