{"id":"CVE-2026-57488","aliases":["DEBIAN-CVE-2026-57488","EUVD-2026-102930","GHSA-g6c2-x4r9-352g","UBUNTU-CVE-2026-57488"],"status":"published","title":"pupnp: Integer truncation in HTTP Content-Length parsing enables request smuggling","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.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00331,"percentile":0.26473,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190","CWE-444"],"published":"2026-10-16T15:34:49Z","modified":"2026-10-28T20:17:34Z","fixes":[{"ecosystem":"Debian:14","package":"pupnp","fixed_in":["1:22.1.8-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"pupnp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Debian:14","package":"pupnp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:22.1.8-2"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libupnp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mediatomb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.1-47-g7ab7616-1ubuntu1","0.12.1-47-g7ab7616-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libupnp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"pupnp-1.8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.8.2-2","1:1.8.2-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"pupnp-1.8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.8.4-2ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"pupnp-1.8","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.8.4-2ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pupnp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.14.18-1ubuntu1","1:1.14.18-1.1ubuntu1","1:1.14.18-1.1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"pupnp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.14.25-1ubuntu1","1:1.14.31-1ubuntu1","1:1.14.31-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"pupnp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.14.24-3ubuntu1","1:1.14.25-1ubuntu1"]}],"products":[{"vendor":"pupnp","product":"pupnp"},{"vendor":"pupnp_project","product":"pupnp"}],"references":[{"url":"https://github.com/pupnp/pupnp/security/advisories/GHSA-g6c2-x4r9-352g","tags":["x_refsource_CONFIRM","exploit","Exploit","Mitigation","Vendor Advisory","advisory","report"]},{"url":"https://github.com/pupnp/pupnp/commit/de9602aef34ff722f3630d66c9be8eaa0aa9f012","tags":["x_refsource_MISC","Patch","fix","report"]},{"url":"https://github.com/pupnp/pupnp/releases/tag/release-2.0.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57488.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57488","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-57488","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-57488","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-57488","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-57488","title":"pupnp: Integer truncation in HTTP Content-Length parsing enables request smuggling","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.","status":"published","published":"2026-10-16T15:34:49.625Z","modified":"2026-10-16T19:08:25.462Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-190","CWE-444"],"updated_at":"2026-11-02T13:43:44.898272Z"}],"euvd":[{"id":"EUVD-2026-102930","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.","status":"published","published":"2026-10-16T15:34:49Z","modified":"2026-10-16T19:08:25Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T17:00:02.396845Z"}],"nvd":[{"id":"CVE-2026-57488","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.","status":"published","published":"2026-10-16T16:18:44.823Z","modified":"2026-10-20T19:37:12.947Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-190","CWE-444"],"updated_at":"2026-11-02T14:13:00.123071Z"}],"osv":[{"id":"CVE-2026-57488","title":"pupnp: Integer truncation in HTTP Content-Length parsing enables request smuggling","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.","status":"published","published":"2026-10-16T15:34:49.625Z","modified":"2026-10-28T10:57:57.431095029Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"cwes":["CWE-190","CWE-444"],"updated_at":"2026-11-02T15:45:12.016252Z"},{"id":"DEBIAN-CVE-2026-57488","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.","status":"published","published":"2026-10-16T16:18:44.823Z","modified":"2026-10-23T17:47:47.989972326Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:57.590991Z"},{"id":"UBUNTU-CVE-2026-57488","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.","status":"published","published":"2026-10-16T16:18:00Z","modified":"2026-10-28T20:17:34.850360222Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:41.911783Z"}]}}
