WordPress is licensed with the GNU General Public License. This is an open source license, which means the source code is free to modify and redistribute.