# CVE-2026-55862: pupnp: Incomplete fix for CVE-2021-28302: recursive DOM functions cause stack overflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-674
- **Published:** 2026-10-16T15:32:08.277Z
- **Modified:** 2026-10-23T16:10:19.583Z

## Who should check

- Anyone running pupnp \< 2.0.0

## Description

pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.0, multiple ixml DOM traversal functions process deeply nested XML with unbounded recursion. The iterative XML parser accepts the document, but ixmlPrintDomTreeRecursive in ixml/src/ixml.c and ixmlNode\_getElementsByTagNameRecursive, ixmlNode\_getElementsByTagNameNSRecursive, ixmlNode\_cloneNodeTreeRecursive, and ixmlNode\_isAncestor in ixml/src/node.c recurse over firstChild and nextSibling links. An unauthenticated peer on the local network can supply deeply nested XML through a SOAP request, exhaust a service thread's stack, and crash the UPnP service. This is an incomplete-fix case for CVE-2021-28302 because its remediation converted ixmlNode\_free but left these traversal paths recursive. This issue is fixed in 2.0.0.

## Affected and fixed versions

- pupnp: \< 2.0.0 (cvelist)

## Mitigation

- Upgrade pupnp to 2.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55862. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55862.md
Affected: pupnp < 2.0.0
Fixed in: pupnp 2.0.0

Steps:
1. Search this machine and project for pupnp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55862 being exploited?

There is no confirmed exploitation: CVE-2026-55862 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55862?

Medium: CVSS 6.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-55862?

pupnp \< 2.0.0.

### Is there a fix for CVE-2026-55862?

Yes. Fixed in pupnp 2.0.0. Upgrade pupnp to 2.0.0 or later.

### How do I check if I'm affected by CVE-2026-55862?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/pupnp/pupnp/security/advisories/GHSA-25cx-xv8x-j247>
- patch: <https://github.com/pupnp/pupnp/commit/82ccaec7ab6b1258ea1ac66374d8940712ccd4c4>
- other: <https://github.com/pupnp/pupnp/releases/tag/release-2.0.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55862>

HTML: <https://flawdb.com/CVE-2026-55862> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55862>
