CVE-2021-32686 json
Denial of Service in PJSIP
published 2021-07-23 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-19490
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- teluu pjsip 2.11.1
- ring Debian 12 20230206.0~ds1-1
- asterisk Debian 14 1:16.16.1~dfsg-2
debian advisories DEBIAN-CVE-2021-32686
- pjproject Ubuntu Pro 18.04 LTS 2.7.2~dfsg-1ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2021-32686
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pjproject Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 2.11.1-r0
alpine advisories ALPINE-CVE-2021-32686
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/pjsip/pjproject@d5f95aa commit
- github.com/pjsip/pjproject#2716 pull request
- github.com/pjsip/pjproject/releases/tag/2.11.1 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-32686 updated cvss 5.9
pjproject: race condition in SSL socket server
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.07% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- pjsip pjproject
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
References
-
github.com
/pjsip/pjproject/pull/2716
patch, third-party-advisory
-
github.com
/pjsip/pjproject/commit/d5f95aa066f878b0aef6a64e60b61e8626e664cd
patch, third-party-advisory
-
debian.org
/security/2021/dsa-4999
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202210-37
vendor-advisory, third-party-advisory
-
github.com
/pjsip/pjproject/security/advisories/GHSA-cv8x-p47p-99wr
third-party-advisory
-
github.com
/pjsip/pjproject/releases/tag/2.11.1
release-notes, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/03/msg00035.html
mailing-list, third-party-advisory
- lists.debian.org /debian-lts-announce/2024/09/msg00030.html
Sources
- CVE List CVE-2021-32686
- NVD CVE-2021-32686
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.