CVE-2026-57160: PJSIP - Buffer Overflow
- Cve: CVE-2026-57160
- Name: PJSIP - Buffer Overflow
- Description: PJSIP is a free and open source multimedia communication library written in C. Prior to commit d6a0e7f, a buffer overflow can occur in pjsip_generic_array_hdr_print() in pjsip/src/pjsip/sip_msg.c, the function that serializes generic array headers (such as Allow, Require, Supported, and Unsupported). Under certain output-buffer boundary conditions the function can write one byte past the end of the buffer. This is reachable mainly in applications that parse and re-serialize incoming SIP requests — for example a proxy, SBC, or B2BUA — where a remote peer can influence the serialized message. The out-of-bounds write is a single fixed byte; code execution and information disclosure are not demonstrated, and in typical pool-based allocations the byte falls within allocation slack. This issue has been patched via commit d6a0e7f.
- Impact: Remote attackers can cause memory corruption, potentially leading to application instability or denial of service.
- Remediation: Update to the version including commit d6a0e7f or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00307
- Epss percentile: 0.23623
- Assignee: [email protected]
- Published at: 2026-09-04T18:17:53Z
- Age in days: 81
- Modified at: 2026-09-11T15:31:44Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-57160
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-193 | Off-by-one Error |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/pjsip/pjproject/commit/d6a0e7f76611c3a6f530ee051e3e7a622bb1748c | nvd | Patch |
| https://github.com/pjsip/pjproject/security/advisories/GHSA-277r-3q2j-mxcw | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| teluu:pjsip | <= 2.17 | no | nvd | /v1/products/teluu/pjsip |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| pjsip/pjproject | commit, fix, security_advisory | yes | /v1/repositories/pjsip/pjproject |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts