Explainer
How open-source software works (licences and foundations)
Open-source software is released under a licence that lets anyone use, study, change and redistribute it; the Open Source Initiative says that means more than just publishing the source code.[1][2] The MIT and BSD licences are among the most popular; copyleft licences such as the GNU GPL also require modified versions to stay free.[3][4] A 2024 Harvard Business School working paper put the demand-side value of widely used open-source code at $8.8 trillion, but shared code also spreads risk, as the Log4Shell and XZ Utils incidents showed.[5][6][7]
This explainer covers open-source licences, how projects are run and why the model matters for security. For an AI company that releases models with open weights, see Mistral AI. Choose a reading level in each section.
What makes software open source
The Open Source Initiative says open source means more than just letting people see a program’s source code.[1]
The licence must let anyone give the software away or sell it without paying royalties, must include the source code, and must let people change it and share their changes.[1] It also cannot ban particular people or uses: for example, it cannot forbid business use.[2]
The Open Source Definition sets criteria for distribution terms, not just source availability: free redistribution without royalties, inclusion of source code, and permission for modifications and derived works under the same terms.[1] It also bars discrimination against persons or groups and against fields of endeavour, which is why licences restricting, say, commercial use are not open source.[2] The free-software movement defines its criteria as users’ freedoms to run, copy, distribute, study, change and improve software; the GNU Project says nearly all open-source programs also qualify as free software.[8]
Popular and copyleft licences
There are many open-source licences. The OSI marks the MIT License and two BSD licences as among the most popular, with strong communities.[3]
Copyleft licences, such as the GNU General Public License (GPL) that the GNU Project uses, add a condition: if you share a modified version, it must stay free too.[4] The Linux kernel uses GPL version 2.[9]
The OSI tags MIT, BSD-2-Clause and BSD-3-Clause as “Popular / Strong Community” in its approved list.[3] Copyleft, as the GNU Project describes it, requires all modified and extended versions to remain free, closing the gap that public-domain release leaves open, where others can turn the code into proprietary software.[4] The Linux kernel is “GPL-2.0 only” with a syscall exception, and labels each source file with a machine-readable SPDX identifier.[9] SPDX itself is an open standard for software bill-of-materials data, recognised as ISO/IEC 5962:2021.[10]
Who runs the projects
GitHub, a code-hosting site, reported more than 5.2 billion contributions to over 518 million projects in 2024.[11]
Some projects are looked after by non-profit foundations. The Apache Software Foundation, set up in 1999 to provide infrastructure and an independent legal entity for projects, runs its projects by consensus rather than through a boss.[12] The Linux Foundation offers a neutral home for many other projects.[13]
GitHub’s 2024 Octoverse counted more than 5.2 billion contributions to over 518 million open-source, public and private projects, with Python overtaking JavaScript as the most-used language (company figures).[11] The ASF, a 501(c)(3) charity formed in 1999, gives projects infrastructure and an independent legal entity, and its projects use a consensus-based, non-hierarchical process.[12] The Linux Foundation, a 501(c)(6) non-profit, describes itself as a neutral home for projects.[13]
Why it matters economically
A 2024 Harvard Business School study estimated that if open-source software did not exist, companies would have to spend about 3.5 times more on software.[5] It valued widely used open-source code at $8.8 trillion to the companies that use it, and found that just 5% of developers create 96% of that value.[5]
HBS working paper 24-038 separates the supply-side cost of recreating widely used OSS once ($4.15 billion) from the demand-side replacement value across all user firms ($8.8 trillion), implying firms would spend 3.5 times more on software without OSS.[5] Value is highly concentrated: 96% of demand-side value comes from 5% of developers.[5]
Security: shared code, shared risk
In December 2021 the US cybersecurity agency CISA responded to widespread attacks on Log4Shell, a flaw in Log4j, a logging tool very broadly used in websites and apps.[6]
In March 2024 CISA warned that someone had hidden malicious code in two versions of XZ Utils, a compression tool that may be present in Linux distributions, which could let attackers into affected systems.[7]
Log4Shell (CVE-2021-44228) was a critical remote code execution flaw in Apache Log4j that saw active, widespread exploitation; CISA noted the library’s very broad use across consumer and enterprise services.[6] The XZ Utils compromise (CVE-2024-3094) was a supply-chain compromise in which malicious code was embedded in releases 5.6.0 and 5.6.1.[7] SPDX bills of materials record each component’s provenance, licence and security information in a standard format.[10]
Read next
National Institute of Standards and Technology (NIST)
NIST is the US measurement and standards lab behind official time, the SI units, AES encryption, post-quantum standards and AI and cybersecurity frameworks.
Questions readers ask
Is open-source software the same as free software?
Not quite. The Free Software Foundation defines free software by users' freedom to run, copy, distribute, study, change and improve it, and says nearly all open-source programs are also free software, though the two movements stress different values.[8]
Can open-source software be used commercially?
Yes. The Open Source Definition says a licence may not restrict use in any field of endeavour, including business, and may not require royalties for redistribution.[2][1]
What is copyleft?
Copyleft is a licensing method that makes a program free and requires all modified and extended versions to be free as well. The GNU Project uses the GNU General Public License for most of its software; the Linux kernel uses GPL version 2.[4][9]
Who maintains open-source projects?
Volunteers, companies and non-profit foundations. The Apache Software Foundation, a US non-profit formed in 1999, provides infrastructure and a legal home for projects run by consensus; the Linux Foundation provides a neutral home for many others.[12][13]
How much is open-source software worth?
A January 2024 Harvard Business School working paper estimated the demand-side value of widely used open-source software at $8.8 trillion and said firms would spend 3.5 times more on software without it.[5]
Sources
· 13 claims from 9 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
The Open Source Initiative's Open Source Definition says open source means more than access to source code; a licence must allow free redistribution without royalties, include source code, and allow modifications and derived works under the same terms. confirmedas of 2024-02-16
- The Open Source Definition · Open Source Initiative · Primary source · Introduction (retrieved 2026-11-07)
- The Open Source Definition · Open Source Initiative · Primary source · 1. Free Redistribution (retrieved 2026-11-07)
- The Open Source Definition · Open Source Initiative · Primary source · 2. Source Code (retrieved 2026-11-07)
- The Open Source Definition · Open Source Initiative · Primary source · 3. Derived Works (retrieved 2026-11-07)
- [2]
An open-source licence may not discriminate against any person or group, or restrict use in any field of endeavour, such as business use or genetic research. confirmedas of 2024-02-16
- The Open Source Definition · Open Source Initiative · Primary source · 5. No Discrimination Against Persons or Groups (retrieved 2026-11-07)
- The Open Source Definition · Open Source Initiative · Primary source · 6. No Discrimination Against Fields of Endeavor (retrieved 2026-11-07)
- [3]
The OSI's list of approved licences marks the MIT License and the 2-clause and 3-clause BSD licences as "Popular / Strong Community". confirmedas of 2026-11-07
- OSI Approved Licenses · Open Source Initiative · Primary source · Licence list (retrieved 2026-11-07)
- OSI Approved Licenses · Open Source Initiative · Primary source · Licence list (retrieved 2026-11-07)
- OSI Approved Licenses · Open Source Initiative · Primary source · Licence list (retrieved 2026-11-07)
- [4]
Copyleft is a licensing method that makes a program free and requires all modified and extended versions to be free as well; the GNU Project contrasts it with public-domain release, which lets others turn the program into proprietary software, and uses the GNU General Public License (GPL) for most of its own software. confirmedas of 2026-11-07
- What is Copyleft? · GNU Project (Free Software Foundation) · Primary source · What is Copyleft? (retrieved 2026-11-07)
- What is Copyleft? · GNU Project (Free Software Foundation) · Primary source · What is Copyleft? (retrieved 2026-11-07)
- What is Copyleft? · GNU Project (Free Software Foundation) · Primary source · What is Copyleft? (retrieved 2026-11-07)
- What is Copyleft? · GNU Project (Free Software Foundation) · Primary source · What is Copyleft? (retrieved 2026-11-07)
- What is Copyleft? · GNU Project (Free Software Foundation) · Primary source · What is Copyleft? (retrieved 2026-11-07)
- [5]
A January 2024 Harvard Business School working paper estimated the supply-side value of widely used open-source software (the cost to recreate it once) at $4.15 billion and its demand-side value (a replacement value for each firm using it) at $8.8 trillion, said firms would spend 3.5 times more on software without it, and found that 96% of that value comes from 5% of open-source developers. reportedas of 2024-01-01
- The Value of Open Source Software (HBS Working Paper 24-038) · Harvard Business School · Secondary source · 2024-01-01 · Abstract (retrieved 2026-11-07)
- The Value of Open Source Software (HBS Working Paper 24-038) · Harvard Business School · Secondary source · 2024-01-01 · Abstract (retrieved 2026-11-07)
- The Value of Open Source Software (HBS Working Paper 24-038) · Harvard Business School · Secondary source · 2024-01-01 · Abstract (retrieved 2026-11-07)
- The Value of Open Source Software (HBS Working Paper 24-038) · Harvard Business School · Secondary source · 2024-01-01 · Citation (retrieved 2026-11-07)
- [6]
In December 2021 CISA and partners responded to active, widespread exploitation of Log4Shell (CVE-2021-44228), a critical remote code execution flaw in the open-source Apache Log4j logging library, which CISA said is very broadly used in consumer and enterprise services. confirmedas of 2021-12-22
- Apache Log4j Vulnerability Guidance · CISA · Primary source · Body (retrieved 2026-11-07)
- Apache Log4j Vulnerability Guidance · CISA · Primary source · Body (retrieved 2026-11-07)
- Apache Log4j Vulnerability Guidance · CISA · Primary source · Body (retrieved 2026-11-07)
- Apache Log4j Vulnerability Guidance · CISA · Primary source · Body (retrieved 2026-11-07)
- [7]
On 29 March 2024 CISA reported a supply chain compromise (CVE-2024-3094) in which malicious code was embedded in versions 5.6.0 and 5.6.1 of XZ Utils, an open-source data compression tool that may be present in Linux distributions, which could allow unauthorised access to affected systems. confirmedas of 2024-03-29
- Reported Supply Chain Compromise Affecting XZ Utils Data Compression Library, CVE-2024-3094 · CISA · Primary source · 2024-03-29 · Title (retrieved 2026-11-07)
- Reported Supply Chain Compromise Affecting XZ Utils Data Compression Library, CVE-2024-3094 · CISA · Primary source · 2024-03-29 · Alert (retrieved 2026-11-07)
- Reported Supply Chain Compromise Affecting XZ Utils Data Compression Library, CVE-2024-3094 · CISA · Primary source · 2024-03-29 · Alert (retrieved 2026-11-07)
- [8]
The Free Software Foundation's GNU Project defines free software as software users are free to run, copy, distribute, study, change and improve, a matter of liberty rather than price, and says nearly all open-source programs are also free software though the philosophies differ. confirmedas of 2026-11-07
- What is Free Software? · GNU Project (Free Software Foundation) · Primary source · What is Free Software? (retrieved 2026-11-07)
- What is Free Software? · GNU Project (Free Software Foundation) · Primary source · Introduction (retrieved 2026-11-07)
- What is Free Software? · GNU Project (Free Software Foundation) · Primary source · What is Free Software? (retrieved 2026-11-07)
- What is Free Software? · GNU Project (Free Software Foundation) · Primary source · Introduction (retrieved 2026-11-07)
- [9]
The Linux kernel is distributed under the GNU General Public License version 2 only (GPL-2.0), with an explicit exception for system calls, and its source files are labelled with machine-readable SPDX licence identifiers. confirmedas of 2026-11-07
- Linux kernel licensing rules · The Linux Kernel documentation · Primary source · Linux kernel licensing rules (retrieved 2026-11-07)
- Linux kernel licensing rules · The Linux Kernel documentation · Primary source · Linux kernel licensing rules (retrieved 2026-11-07)
- Linux kernel licensing rules · The Linux Kernel documentation · Primary source · Linux kernel licensing rules (retrieved 2026-11-07)
- [10]
SPDX is an open standard for communicating software bill of materials information, including provenance, licence and security data, and is recognised as the international standard ISO/IEC 5962:2021. confirmedas of 2026-11-07
- SPDX overview · SPDX (Linux Foundation) · Primary source · Overview (retrieved 2026-11-07)
- SPDX overview · SPDX (Linux Foundation) · Primary source · Overview (retrieved 2026-11-07)
- [11]
GitHub reported that in 2024 developers made more than 5.2 billion contributions to over 518 million open-source, public and private projects on its platform, and that Python overtook JavaScript as its most popular language. reportedas of 2024-10-29
- Octoverse: AI leads Python to top language as the number of global developers surges · GitHub · Secondary source · 2024-10-29 · Octoverse 2024 (retrieved 2026-11-07)
- Octoverse: AI leads Python to top language as the number of global developers surges · GitHub · Secondary source · 2024-10-29 · Octoverse 2024 (retrieved 2026-11-07)
- [12]
The Apache Software Foundation is a US 501(c)(3) non-profit formed in 1999 to support open, collaborative software projects by supplying infrastructure and an independent legal entity, which are managed through a consensus-based process rather than a hierarchy. confirmedas of 2026-11-07
- How the ASF works · The Apache Software Foundation · Primary source · What is the Apache Software Foundation? (retrieved 2026-11-07)
- How the ASF works · The Apache Software Foundation · Primary source · What is the Apache Software Foundation? (retrieved 2026-11-07)
- How the ASF works · The Apache Software Foundation · Primary source · What is the Apache Software Foundation? (retrieved 2026-11-07)
- How the ASF works · The Apache Software Foundation · Primary source · Project Management and collaboration (retrieved 2026-11-07)
- [13]
The Linux Foundation describes itself as a 501(c)(6) non-profit that provides a neutral home and support for open-source projects. confirmedas of 2026-11-07
- About the Linux Foundation · The Linux Foundation · Primary source · About (retrieved 2026-11-07)
Revision history (2)
- Description now matches the page: popular and copyleft licences, not a permissive-vs-copyleft comparison.
- Page created.
Created Nov 7, 2026. Last reviewed by an editor on Nov 8, 2026. Next scheduled review: May 7, 2027.
Cite this page
"How open-source software works (licences and foundations)." ContentLora, updated Nov 14, 2026. https://contentlora.com/explain/how-open-source-software-works
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.