Skip to main content
ExplainerSoftware LicensingExplainer· 4 min read· in Technology

The Viral Clause: Why the GPL Requires Derivative Works to Be Open Source, but the MIT License Does Not

The distinction between permissive and copyleft open-source licenses hinges on the legal definition of a derivative work. While the MIT License allows developers to commercialize modified code, the GPL forces any distributed derivative to remain open-source.

By Diego Navarro

Free Software Advocates 30%Enterprise Legal Teams 30%Pragmatic Developers 25%Legal Scholars 15%
Free Software Advocates
Copyleft licenses are necessary to protect user freedoms and prevent corporate enclosure.
Enterprise Legal Teams
The ambiguity of derivative works under the GPL introduces unacceptable business risk.
Pragmatic Developers
Focus on utility and rapid development, generally preferring permissive licenses.
Legal Scholars
Focus on the exact copyright definitions of distribution and derivative works.

Perspectives this story doesn't cover

  • Independent Open-Source Maintainers
  • Hardware Manufacturers

A software developer deciding to import an open-source package faces a choice that dictates what they can actually do with the resulting application, and when they next get to distribute it. The moment a proprietary codebase links to an external library, the legal framework governing that library attaches to the project. The software industry often markets "open source" as a unified concept, but the reality is a strict legal bifurcation between permissive licenses that allow developers to commercialize their work and copyleft licenses that force them to share it. The distinction rests entirely on a few paragraphs of legal text that trigger when a developer decides to ship their code to the public.[1][2]

The Massachusetts Institute of Technology released the MIT License in 1988 to solve a specific problem: how to share academic software without imposing downstream legal burdens. The resulting document is famously brief. At just 172 words, it grants anyone the permission to "use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software." The license imposes exactly two requirements: the original copyright notice and the permission notice must remain intact in all copies. A developer can take an MIT-licensed library, embed it in a closed-source commercial product, and sell it without ever revealing their own source code.[2][4][6]

The GNU General Public License (GPL), currently on version 3.0 published in June 2007, operates on an entirely different mechanism. Authored by the Free Software Foundation, which was established in 1985, the GPL is a "copyleft" license. It grants users the freedom to run, study, and modify the software, but it attaches a viral condition to distribution. Under Section 5 of the GPLv3, if a developer creates a "derivative work" based on a GPL-licensed component and distributes it, they must license the entire resulting work under the GPL. They cannot keep their additions proprietary.[1][7]

The MIT License is famously brief, imposing only two requirements on developers.

"Copyleft is triggered by distribution and creating a derivative work; therefore, companies must be careful of engaging in these two acts," writes Theresa Gue in the University of Illinois Journal of Law, Technology, & Policy. The mechanism is designed to prevent corporations from enclosing open-source commons. If a company modifies a GPL program for internal use only, the viral clause remains dormant. The obligation to release the source code only activates when the software is conveyed to a third party outside the organization.[5]

The mechanism is designed to prevent corporations from enclosing open-source commons.

The tension in the software industry centers on the legal definition of a "derivative work." The GPLv3 text states that if you convey a work based on the program, you must license the entire work "as a whole" to anyone who comes into possession of a copy. But modern software development rarely involves copying and pasting source code directly. Instead, applications dynamically link to external libraries, calling their functions at runtime while keeping the files separate on the disk.[1][5]

Whether dynamic linking creates a derivative work remains a heavily contested legal question. The Free Software Foundation argues that linking a proprietary application to a GPL library creates one single combined program, thereby triggering the copyleft clause across the entire codebase. Many corporate lawyers disagree, arguing that an application communicating with a library through standard interfaces remains a separate work under United States copyright law. Because courts have rarely tested this specific boundary, enterprise development teams often ban GPL components entirely to avoid the risk of forced open-sourcing.[1][5]

Whether dynamic linking creates a derivative work under copyright law remains a contested boundary.

The MIT License bypasses this ambiguity entirely. Because it explicitly permits sublicensing and does not contain a share-alike clause, the legal definition of a derivative work is irrelevant to downstream users. A company can statically link, dynamically link, or directly modify MIT-licensed code without risking their proprietary intellectual property. This legal certainty has driven the massive adoption of permissive licenses in modern web development ecosystems, where a single application might pull in 500 different dependencies.[2][3]

The software industry is not abandoning copyleft, but it is isolating it to specific layers of the stack. Infrastructure projects, such as the Linux kernel, continue to rely on GPL version 2.0 to ensure that hardware manufacturers contribute their modifications back to the community. However, at the application layer, permissive licenses have become the default standard. Developers want the utility of open-source components without the legal overhead of tracking distribution triggers and derivative work boundaries.[1][2]

What to know

  • The MIT License is a permissive license that allows developers to embed open-source code into proprietary, closed-source commercial products.
  • The GNU General Public License (GPL) is a copyleft license that requires any distributed derivative work to also be licensed under the GPL.
  • The GPL's viral share-alike clause is only triggered when the modified software is distributed to a third party, not during internal use.
  • Because the legal definition of a derivative work remains untested for dynamic linking, many enterprise teams ban GPL components entirely.

Key terms

Copyleft
A licensing mechanism that grants users the right to modify and distribute a work, provided that any derivative works are distributed under the exact same license.
Permissive License
An open-source license that allows users to modify and distribute the software with minimal restrictions, explicitly permitting the creation of proprietary derivative works.
Derivative Work
A new work that is based upon or adapts one or more preexisting copyrighted works.
Dynamic Linking
A method where an application calls external library functions at runtime, keeping the library's code separate from the application's executable file.

Sources

Source coverage

8 outlets

4 viewpoints surfaced

Free Software Advocates 30%Enterprise Legal Teams 30%Pragmatic Developers 25%Legal Scholars 15%
  1. [1]GNU Project - Free Software Foundation (FSF)Free Software Advocates

    GNU General Public License v3.0

    Read on GNU Project - Free Software Foundation (FSF)
  2. [2]Open Source InitiativePragmatic Developers

    The MIT License

    Read on Open Source Initiative
  3. [3]FOSSA BlogPragmatic Developers

    All About Copyleft Licenses

    Read on FOSSA Blog
  4. [4]LicenseCheck.ioEnterprise Legal Teams

    MIT vs GPL License: Complete Comparison Guide for Developers

    Read on LicenseCheck.io
  5. [5]University of Illinois Journal of Law, Technology, & PolicyLegal Scholars

    TRIGGERING INFECTION: DISTRIBUTION AND DERIVATIVE WORKS UNDER THE GNU GENERAL PUBLIC LICENSE

    Read on University of Illinois Journal of Law, Technology, & Policy
  6. [6]MemgraphEnterprise Legal Teams

    What is MIT License?

    Read on Memgraph
  7. [7]PressableEnterprise Legal Teams

    What Is GPL? A Guide To The Open Source Software License

    Read on Pressable
  8. [8]Factlen Editorial TeamLegal Scholars

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team

Comments

Stay informed

Every angle. Every day.

Get Technology stories with full source coverage and perspective breakdowns delivered to your inbox.