p PatchFirst

CVE-2026-57487

CVE-2026-57487 · libupnp chunked HTTP bodies can bypass g_maxContentLength and be fully buffered

This page contains facts from public vulnerability sources. Check the original advisory before updating.

pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.2, Transfer-Encoding: chunked causes the HTTP parser in upnp/src/genlib/net/http/httpparser.c to leave parser->content_length at zero while parser_parse_chunky_entity and parser_parse_chunky_body accumulate decoded bytes in parser->msg.entity. The g_maxContentLength checks in http_RecvMessage in upnp/src/genlib/net/http/httpreadwrite.c therefore reject oversized numeric Content-Length bodies but do not enforce the same limit on decoded chunked bodies. A remote peer that can reach a SOAP, GENA, miniserver, or control-point HTTP response path can make the process buffer an entity larger than the configured maximum, causing resource exhaustion and denial of service. This issue is fixed in 2.0.2.

CVSS 7.5 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • pupnp

    Versions
    • < 2.0.2: Affected

    No fix published

  • pupnp Debian:13

    Versions
    • 1:1.14.20-1
    • 1:1.14.20-1+deb13u1
    • 1:1.14.23-1
    • 1:1.14.24-1
    • 1:1.14.24-2
    • 1:1.14.24-3
    • 1:1.14.25-1
    • 1:1.14.31-1
    • 1:1.18.0-1
    • 1:1.18.4-1
    • 1:1.18.5-1
    • 1:22.1.8-1
    • 1:22.1.8-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pupnp Debian:14

    Versions
    • 1:1.14.20-1
    • 1:1.14.23-1
    • 1:1.14.24-1
    • 1:1.14.24-2
    • 1:1.14.24-3
    • 1:1.14.25-1
    • 1:1.14.31-1
    • 1:1.18.0-1
    • 1:1.18.4-1
    • 1:1.18.5-1
    • 1:22.1.8-1
    Affected ranges
    • ECOSYSTEM: < 1:22.1.8-2

    Update to 1:22.1.8-2

  • libupnp Ubuntu:Pro:16.04:LTS

    Versions
    • 1:1.6.19+git20141001-1
    • 1:1.6.19+git20141001-1ubuntu1
    • 1:1.6.19+git20160116-1
    • 1:1.6.19+git20160116-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mediatomb Ubuntu:16.04:LTS

    Versions
    • 0.12.1-47-g7ab7616-1ubuntu1
    • 0.12.1-47-g7ab7616-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libupnp Ubuntu:18.04:LTS

    Versions
    • 1:1.6.22-1
    • 1:1.6.24-1
    • 1:1.6.24-2
    • 1:1.6.24-3
    • 1:1.6.24-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pupnp-1.8 Ubuntu:18.04:LTS

    Versions
    • 1:1.8.2-2
    • 1:1.8.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pupnp-1.8 Ubuntu:20.04:LTS

    Versions
    • 1:1.8.4-2ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pupnp-1.8 Ubuntu:22.04:LTS

    Versions
    • 1:1.8.4-2ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pupnp Ubuntu:24.04:LTS

    Versions
    • 1:1.14.18-1ubuntu1
    • 1:1.14.18-1.1ubuntu1
    • 1:1.14.18-1.1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pupnp Ubuntu:26.10

    Versions
    • 1:1.14.25-1ubuntu1
    • 1:1.14.31-1ubuntu1
    • 1:1.14.31-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pupnp Ubuntu:26.04:LTS

    Versions
    • 1:1.14.24-3ubuntu1
    • 1:1.14.25-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →