Description
The upnp_event_prepare function in upnpevents.c in MiniUPnP MiniUPnPd through 2.1 allows a remote attacker to leak information from the heap due to improper validation of an snprintf return value.
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 14 | miniupnpd | 2.1-6 | — |
| Debian 13 | miniupnpd | 2.1-6 | — |
| Debian 12 | miniupnpd | 2.1-6 | — |
| Debian 8 | miniupnpd | 1.8.20140523-4+deb8u1 | DLA-1811-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | miniupnpd | 1.8.20140523-4.1+deb9u2build0.16.04.1 | USN-4542-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | miniupnpd | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.23 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.22 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.21 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.20 | miniupnpd | 2.2.2-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.18 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.17 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.16 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.15 | miniupnpd | 2.2.2-r0 | — |
| Alpine v3.14 | miniupnpd | 2.2.2-r0 | — |
Advisories 2
- USN-4542-1 miniupnpd vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-1811-1 miniupnpd - security update Debian Security (DSA / DLA) · Mar 9, 2026