Copyleft licence

An open-source licence that lets anyone use, change and share the software, on condition that distributed copies and derived works are released under the same terms, with source code.

A copyleft licence is an open-source licence that uses copyright to keep software free to use, study, change and share. Anyone may modify the code, but if they distribute the software or a work derived from it, they must release it under the same licence and make the corresponding source code available. The best-known example is the GNU General Public License (GPL). Weaker copyleft licences such as the GNU Lesser General Public License (LGPL) apply the condition mainly to the library itself rather than to every program that uses it, and the GNU Affero General Public License (AGPL) extends it to modified software offered to users over a network.

The contrast is with a permissive licence such as MIT or Apache 2.0, which lets the code go into a closed product if its notices are kept. Copyleft becomes a legal risk when a component is built into a product that is then distributed, because the obligation to release source can reach the organisation’s own code. That is why software composition analysis tools report licences as well as vulnerabilities.

Exam relevance: scenarios in this area tend to turn on licensing obligations. Candidates are expected to recognise that open-source software still comes with a software licence, and that copyleft conditions are commonly triggered by distribution rather than by internal use alone.