{"id":"CVE-2026-57164","aliases":["CVE-2026-57164"],"related":[],"kind":"vulnerability","state":"published","title":"PJSIP: Heap overflow in the HTTP client","summary":"PJSIP is a free and open source multimedia communication library written in C. Prior to commit 8d5956a, a heap buffer overflow exists in the PJLIB-UTIL HTTP client (http_client.c) when buffering an HTTP response body. This affects applications that use the PJLIB-UTIL HTTP client to receive a whole response body at once (a completion callback with no incremental on_data_read callback). When growing the response buffer, an incorrect size calculation based on the server-supplied Content-Length can leave the buffer too small, causing response data to be written past the end of the allocation. A malicious or man-in-the-middle HTTP server can trigger this with a crafted response; impact may range from unexpected application termination to memory corruption. Applications that consume the response incrementally (via on_data_read), or that only connect to trusted servers, are not affected. This issue has been patched via commit 8d5956a.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"PJSIP is a free and open source multimedia communication library written in C. Prior to commit 8d5956a, a heap buffer overflow exists in the PJLIB-UTIL HTTP client (http_client.c) when buffering an HTTP response body. This affects applications that use the PJLIB-UTIL HTTP client to receive a whole response body at once (a completion callback with no incremental on_data_read callback). When growing the response buffer, an incorrect size calculation based on the server-supplied Content-Length can leave the buffer too small, causing response data to be written past the end of the allocation. A malicious or man-in-the-middle HTTP server can trigger this with a crafted response; impact may range from unexpected application termination to memory corruption. Applications that consume the response incrementally (via on_data_read), or that only connect to trusted servers, are not affected. This issue has been patched via commit 8d5956a.","source":"cvelist"}],"published":"2026-09-04T17:11:55.615Z","modified":"2026-09-11T15:53:18.427Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"version":"< 8d5956afab2ede95ddb199078dc19a8ac0114f3d","status":"affected"}],"vendor":"pjsip","product":"pjproject","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.17"}],"vendor":"teluu","product":"pjsip","cpe":"cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-59fr-724j-6fjv","tags":["patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pjsip/pjproject/commit/8d5956afab2ede95ddb199078dc19a8ac0114f3d","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-08T17:38:19.222Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57164","url":"https://www.cve.org/CVERecord?id=CVE-2026-57164","licence":"CVE Terms of Use","modified":"2026-09-08T17:39:29.425Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57164","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57164","licence":"Public domain","modified":"2026-09-11T15:53:18.427Z"}],"updatedAt":"2026-11-25T22:59:36.381Z","epss":{"score":0.00269,"percentile":0.20377,"date":"2026-12-01T12:00:22.000Z"}}