CVE-2022-31031
CRITICAL9.8EPSS 0.72%Published: 6/9/2022Modified: 4/28/2026
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 versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using `pjlib-util/stun_simple` API. A patch is available in commit 450baca which should be included in the next release. There are no known workarounds for this issue.
Affected packages (3)
- Alpine/pjprojectfrom 0, < 2.13-r0
- Debian/asteriskfrom 0, < 1:16.28.0~dfsg-0+deb11u2
- Debian/ringfrom 0, < 20210112.2.b757bac~ds1-1+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |