Description
miniupnpc through 2.3.3 contains a one-byte heap out-of-bounds read vulnerability in the minixml parseatt function that allows malicious UPnP gateways to read past buffer bounds via crafted replies. Attackers on the local network can spoof a gateway serving device descriptions or SOAP responses ending in '=' to crash the client.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| miniupnp project | miniupnpc | ≤ 2.3.3 | — |
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 | miniupnpc | No fix yet | — |
| Debian 13 | miniupnpc | No fix yet | — |
| Debian 12 | miniupnpc | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | miniupnpc | No fix yet | — |
| Ubuntu 26.04 LTS | miniupnpc | No fix yet | — |
| Ubuntu 24.04 LTS | miniupnpc | No fix yet | — |
| Ubuntu 22.04 LTS | miniupnpc | No fix yet | — |
| Ubuntu 20.04 LTS | miniupnpc | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | miniupnpc | No fix yet | — |
| Ubuntu 16.04 LTS | miniupnpc | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/miniupnpc-minixml-oob-read technical-description exploit
- https://github.com/miniupnp/miniupnp/blob/bf4215a7574f88aa55859db9db00e3ae58cf42d6/miniupnpc/src/minixml.c#L61 technical-description
- https://github.com/miniupnp/miniupnp/commit/3cfb4fb78d5ac04ed0dadc8dd842fc9e448916db patch
- https://github.com/miniupnp/miniupnp product
- VulnCheck Advisory: miniupnpc through 2.3.3 Heap Out-of-Bounds Read via minixml parseatt third-party-advisory