All Euler sources and builds are distributed under the GNU general public license. The main point is that any modified versions remains freeware and open source, und must be distributed with a clear reference to this original version. Other licenses are available.
For more information on the various versions, see here.