Description
PJSIP is a free and open source multimedia communication library written in C. Versions 2.16 and below have a cascading out-of-bounds heap read in pjsip_multipart_parse(). After boundary string matching, curptr is advanced past the delimiter without verifying it has not reached the buffer end. This allows 1-2 bytes of adjacent heap memory to be read. All applications that process incoming SIP messages with multipart bodies or SDP content are potentially affected. This issue is resolved in version 2.17.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pjsip | pjproject | < 2.17 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | asterisk | 1:22.10.0+dfsg+~cs6.17.60671434-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | pjproject | No fix yet | — |
| Ubuntu Pro 16.04 LTS | pjproject | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | pjproject | 2.17-r0 | — |
Advisories 1
- WID-SEC-2026-1378 Asterisk (pjproject): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 4, 2026