Skip to content
Heist/ feed
High

pupnp: Integer truncation in HTTP Content-Length parsing enables request smuggling

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-57488

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-57488

pupnp

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "pupnp",
    "product": "pupnp",
    "versions": [
      {
        "status": "affected",
        "version": "< 2.0.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-57488

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#33132 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement