Skip to content
OpenAdvisories
Medium · 5.9 CVE-2021-32686 EUVD-2021-19490

Denial of Service in PJSIP

Published Jul 23, 2021 · Updated Nov 4, 2025 · Assigned by GitHub_M

Description

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In PJSIP before version 2.11.1, there are a couple of issues found in the SSL socket. First, a race condition between callback and destroy, due to the accepted socket having no group lock. Second, the SSL socket parent/listener may get destroyed during handshake. Both issues were reported to happen intermittently in heavy load TLS connections. They cause a crash, resulting in a denial of service. These are fixed in version 2.11.1.

Affected products

VendorProductAffectedFixed
pjsip pjproject < 2.11.1 —

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.

ReleasePackageFixed inAdvisory
Debian 14 asterisk 1:16.16.1~dfsg-2 —
Debian 12 ring 20230206.0~ds1-1 —
Debian 11 asterisk 1:16.16.1~dfsg-1+deb11u1 DSA-4999-1
Debian 11 ring 20210112.2.b757bac~ds1-1+deb11u1 DLA-3887-1
Debian 9 pjproject 2.5.5~dfsg-6+deb9u3 DLA-2962-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS pjproject 2.7.2~dfsg-1ubuntu0.1~esm1 —
Ubuntu Pro 16.04 LTS pjproject No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 pjproject 2.11.1-r0 —
Alpine v3.23 pjproject 2.11.1-r0 —
Alpine v3.22 pjproject 2.11.1-r0 —
Alpine v3.21 pjproject 2.11.1-r0 —
Alpine v3.20 pjproject 2.11.1-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 pjproject 2.11.1-r0 —
Alpine v3.18 pjproject 2.11.1-r0 —
Alpine v3.17 pjproject 2.11.1-r0 —
Alpine v3.16 pjproject 2.11.1-r0 —
Alpine v3.15 pjproject 2.11.1-r0 —
Alpine v3.14 pjproject 2.11.1-r0 —

Advisories 4

References