Use-after-free in pjsip - #VU155805

 

Use-after-free in pjsip - #VU155805

Published: October 15, 2026


Vulnerability identifier: #VU155805
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to corrupt memory or cause a denial of service.

The vulnerability exists due to use-after-free in the PJLIB-UTIL HTTP client functions http_on_data_read() and restart_req_with_auth() when an application destroys a request from its callbacks and the client continues using it. A remote attacker can return an HTTP 401 or 407 response that triggers an authenticated retry which fails to start to corrupt memory or cause a denial of service.

The server-response attack requires configured authentication credentials. An on-path adversary can also trigger this scenario over a plain HTTP connection. Only applications using the pj_http_req_* API directly are affected; PJSUA and PJSUA2 do not use this HTTP client.


Affected software

pjsip

Remediation

Install security update from vendor's website.

pjsip - update to 2.18

External References

Related Security Bulletins