Heap-based buffer overflow in the create_url_list function in gena/gena_device.c in Portable UPnP SDK (aka libupnp) before 1.6.21 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a valid URI followed by an invalid one in the CALLBACK header of an SUBSCRIBE request.
https://www.tenable.com/security/research/tra-2017-10
https://www.debian.org/security/2016/dsa-3736
https://sourceforge.net/p/pupnp/code/ci/master/tree/ChangeLog
https://sourceforge.net/p/pupnp/bugs/133/