Description
miniupnpc through 2.3.3 contains a one-byte heap out-of-bounds read vulnerability in the minixml parseelt function's namespace-prefix handling that skips an end-of-buffer check after advancing past ':'. A malicious or spoofed UPnP gateway on the local network can send a device description or SOAP reply ending in ':' within an element name 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#L141 technical-description
- https://github.com/miniupnp/miniupnp/commit/64ef08a12aabab57be0bf7e40f047c8f14dedf9c patch
- https://github.com/miniupnp/miniupnp product
- VulnCheck Advisory: miniupnpc through 2.3.3 Heap Out-of-Bounds Read via minixml parseelt third-party-advisory