CVE Catalog

CVE-2026-57488

HighCVSS 7.1
Published: Translated: NVD NIST

Summary

In pupnp, raw_to_int in httpparser.c parses Content-Length with strtol and casts the resulting long to a 32-bit int before storing it as unsigned int. On LP64 systems, values greater than INT_MAX can truncate or wrap, so the HTTP parser may accept a body length different from the declared value. Fixed in 2.0.2.

Risk Assessment

A remote adjacent-network peer can exploit the parser disagreement to leave bytes interpreted as another request (request smuggling risk) or make a worker wait for an extremely large body, causing denial of service.

Recommendation

Update pupnp to version 2.0.2 or later. Until patched, restrict access to UPnP services from untrusted networks.

Other vulnerabilities in pupnp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS