# CVE-2026-55862: pupnp recursive XML parsing stack overflow

Source: https://junglewise.ai/threats/cve-2026-55862-pupnp-is-an-sdk-for-development-of-upnp-device-and-control-point  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-16. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-55862 · Severity: medium · CVSS 6.5 · Published 2026-10-16

pupnp is a software development kit for building UPnP devices and applications that communicate across networks. An attacker on the local network can send a specially crafted XML document with excessive nesting through a SOAP request to crash the UPnP service, causing a denial of service. This is an incomplete fix for a prior vulnerability that left multiple XML traversal functions vulnerable to stack exhaustion.

Technologies: [Pupnp](https://junglewise.ai/threats/technologies/pupnp). Vendors: [Pupnp](https://junglewise.ai/threats/vendors/pupnp).

## Quick answers

**Is CVE-2026-55862 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-55862 being exploited in the wild.

**How severe is CVE-2026-55862?** Medium severity, with a CVSS score of 6.5, published 16 October 2026.

**Which products and versions are affected?** Pupnp before 2.0.0.

**Is there a fix for CVE-2026-55862?** Yes: fixed in 2.0.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-55862 attacked?** It is attacked over the network or from the adjacent network.

**Am I affected by CVE-2026-55862?** Check whether you run Pupnp at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 2.0.0

## Technical details

The vulnerability exists in multiple ixml DOM traversal functions (ixmlPrintDomTreeRecursive, ixmlNode_getElementsByTagNameRecursive, ixmlNode_getElementsByTagNameNSRecursive, ixmlNode_cloneNodeTreeRecursive, and ixmlNode_isAncestor) that recursively process firstChild and nextSibling links without bounds. An unauthenticated peer on the local network can supply deeply nested XML via SOAP to exhaust a service thread's stack and trigger a crash. The fix converts all five functions from recursive to iterative using fence-based traversal patterns.

## Affected products

- pupnp pupnp before 2.0.0

## Timeline

- 2026-10-16: disclosed
- 2026-06-15: patched

## References

- [https://github.com/pupnp/pupnp/commit/82ccaec7ab6b1258ea1ac66374d8940712ccd4c4](https://github.com/pupnp/pupnp/commit/82ccaec7ab6b1258ea1ac66374d8940712ccd4c4)
- [https://github.com/pupnp/pupnp/releases/tag/release-2.0.0](https://github.com/pupnp/pupnp/releases/tag/release-2.0.0)

## Related threats

- [pupnp UPnP SDK DNS resolution denial of service](https://junglewise.ai/threats/cve-2026-77630-pupnp-is-an-sdk-for-development-of-upnp-device-and-control-point)
- [pupnp integer truncation in Content-Length parsing](https://junglewise.ai/threats/cve-2026-57488-pupnp-is-an-sdk-for-development-of-upnp-device-and-control-point)
- [pupnp HTTP parser denial of service via chunked Transfer-Encoding](https://junglewise.ai/threats/cve-2026-57487-pupnp-is-an-sdk-for-development-of-upnp-device-and-control-point)
- [pupnp NULL dereference in ixmlNode_compare](https://junglewise.ai/threats/cve-2026-57486-pupnp-is-an-sdk-for-development-of-upnp-device-and-control-point)
