Heap-based buffer overflow in pjsip - CVE-2026-57164

 

Heap-based buffer overflow in pjsip - CVE-2026-57164

Published: August 3, 2026


Vulnerability identifier: #VU140813
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-57164
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause memory corruption.

The vulnerability exists due to heap-based buffer overflow in the PJLIB-UTIL HTTP client in http_client.c when buffering an HTTP response body. A remote attacker can send a crafted HTTP response with a malformed Content-Length value to cause memory corruption.

Only applications that receive the whole response body at once without using an incremental on_data_read callback are vulnerable. A malicious server or a man-in-the-middle position on the connection can trigger the issue.


Affected software

pjsip

How to mitigate CVE-2026-57164

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.


External References