← Back to CVEs
CVE-2022-31031
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published6/9/2022
Last Modified11/4/2025
Sourcenvd
Honeypot Sightings0
Affected Products
debian:debian_linuxteluu:pjsip
Weaknesses (CWE)
CWE-120CWE-787
References
https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202(security-advisories@github.com)
https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj(security-advisories@github.com)
https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html(security-advisories@github.com)
https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html(security-advisories@github.com)
https://security.gentoo.org/glsa/202210-37(security-advisories@github.com)
https://www.debian.org/security/2023/dsa-5358(security-advisories@github.com)
https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html(af854a3a-2127-422b-91ae-364da2661108)
https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/202210-37(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2023/dsa-5358(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.