CVE-2026-57160PJSIP: SIP message header buffer overflow
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | asterisk | Fix pending | UBUNTU-CVE-2026-57160 | |
| Ubuntu 26.04 | asterisk | Under investigation | UBUNTU-CVE-2026-57160 | |
| Ubuntu 24.04 | asterisk | Under investigation | UBUNTU-CVE-2026-57160 | |
| Ubuntu 22.04 | asterisk | Under investigation | UBUNTU-CVE-2026-57160 | |
| Ubuntu 20.04 | asterisk | Fix pending | UBUNTU-CVE-2026-57160 | |
| Ubuntu 18.04 | asterisk | Fix pending | UBUNTU-CVE-2026-57160 | |
| Ubuntu 18.04 | pjproject | Fix pending | UBUNTU-CVE-2026-57160 | |
| Ubuntu 16.04 | asterisk | Fix pending | UBUNTU-CVE-2026-57160 | |
| Ubuntu 16.04 | pjproject | Fix pending | UBUNTU-CVE-2026-57160 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- pjsip pjproject: affected: < d6a0e7f76611c3a6f530ee051e3e7a622bb1748c
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-277r-3q2j-mxcw
- https://github.com/pjsip/pjproject/commit/d6a0e7f76611c3a6f530ee051e3e7a622bb1748c
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.