# CVE-2026-57488: pupnp: Integer truncation in HTTP Content-Length parsing enables request smuggling

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; 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-190, CWE-444
- **Published:** 2026-10-16T15:34:49.625Z
- **Modified:** 2026-10-20T19:37:12.947Z

## Who should check

- Anyone running pupnp \< 2.0.2

## Description

pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.2, raw\_to\_int in upnp/src/genlib/net/http/httpparser.c parses Content-Length with strtol and casts the resulting long to a 32-bit int before the caller stores it as unsigned int. On LP64 systems, values greater than INT\_MAX can truncate or wrap, so the HTTP parser can accept a body length different from the declared value. A remote adjacent-network peer can use the resulting parser disagreement to leave bytes to be interpreted as another request in persistent or proxied contexts, or can make a worker wait for an extremely large body and cause denial of service. This issue is fixed in 2.0.2.

## Affected and fixed versions

- pupnp: \< 2.0.2 (cvelist)

## Mitigation

- Upgrade pupnp to 2.0.2 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-57488. Work read-only: do not install, upgrade, delete or change anything.

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

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-57488 being exploited?

There is no confirmed exploitation: CVE-2026-57488 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-57488?

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

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

pupnp \< 2.0.2.

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

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

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

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-g6c2-x4r9-352g>
- patch: <https://github.com/pupnp/pupnp/commit/de9602aef34ff722f3630d66c9be8eaa0aa9f012>
- other: <https://github.com/pupnp/pupnp/releases/tag/release-2.0.2>

## 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-57488>

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