CVE-2022-31031
mediumpriority · track · 40EPSS 0.021 · 81 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.8–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (25)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-31031/cnnvd
- https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202cnnvd
- https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qjcnnvd
- https://lists.debian.org/debian-lts-announce/2023/02/msg00029.htmlcnnvd
- https://lists.debian.org/debian-lts-announce/2023/08/msg00038.htmlcnnvd
- https://security.gentoo.org/glsa/202210-37cnnvd
- https://vigilance.fr/vulnerability/PJSIP-buffer-overflow-via-STUN-Client-40004cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.1153cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan