Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | libupnp | 1:1.6.19+git20141001-1+deb8u1 | DSA-3736-1 |
| Debian 7 | libupnp | 1:1.6.17-1.2+deb7u2 | DLA-747-1 |
| Debian 7 | libupnp4 | 1.8.0~svn20100507-1.2+deb7u1 | DLA-748-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libupnp | 1:1.6.17-1.2+deb7u2build0.14.04.1 | — |
| Ubuntu 14.04 LTS | libupnp4 | 1.8.0~svn20100507-1.2+deb7u1build0.14.04.1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | libupnp | 1:1.6.19+git20160116-1ubuntu0.1~esm1 | USN-4794-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
mephi42/CVE-2016-8863 ★ 1 · Dec 24, 2020
CTFs are fun, but what about exploiting a real bug?
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- USN-4794-1 libupnp vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-747-1 libupnp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-748-1 libupnp4 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3736-1 libupnp - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://sourceforge.net/p/pupnp/bugs/133/
- https://sourceforge.net/p/pupnp/code/ci/master/tree/ChangeLog
- GLSA-201701-52 vendor-advisory
- DSA-3736 vendor-advisory
- https://www.tenable.com/security/research/tra-2017-10
- 92849 vdb-entry