Heap-based buffer overflow in pjsip - CVE-2026-57164
Published: August 3, 2026
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.