Most of primer3 is released under the NEW BSD license; see the copyright notice in src/primer3.h. The oligotm library is released under GPL; see the file src/gpl.txt.