CVE & CISA-KEV Catalog

CVE-2022-31031

CRITICALEPSS 76th pctl
9.8
CVSS v3
NVD

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.

How to fix

Remediation Available
asteriskDebian
Fixed in:1:16.28.0~dfsg-0+deb11u2CVE-2022-31031
Fixed in:1:20.0.1~dfsg+~cs6.12.40431414-1CVE-2022-31031
jamiUbuntu
Fixed in:20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1USN-6422-1
Fixed in:20230206.0~ds1-5ubuntu0.1USN-6422-1
jami-daemonUbuntu
Fixed in:20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1USN-6422-1
Fixed in:20230206.0~ds1-5ubuntu0.1USN-6422-1
ringUbuntu
Fixed in:20180228.1.503da2b~ds1-1ubuntu0.1~esm1USN-6422-1
Fixed in:20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1USN-6422-1
Fixed in:20230206.0~ds1-5ubuntu0.1USN-6422-1
ring-daemonUbuntu
Fixed in:20180228.1.503da2b~ds1-1ubuntu0.1~esm1USN-6422-1
Fixed in:20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1USN-6422-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.81%probability of exploitation in 30 days
76thpercentile

Elevated risk: more likely to be exploited than 76% of all known CVEs.

References

Related Vulnerabilities

Other CWE-120 (Classic Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0195Medium6.8100%-Fix
CVE-2017-7269Critical9.8100%KEV-
CVE-2019-11043High8.799%KEV + RansomFix
CVE-2011-4862High10.095%-Fix
CVE-2007-5659High7.894%KEVFix
CVE-2022-3786High7.591%-Fix
Embed a live status badge for CVE-2022-31031
CVE-2022-31031 severity badge

Markdown

[![CVE-2022-31031](https://tridentstack.com/cve/badge/CVE-2022-31031.svg)](https://tridentstack.com/cve/CVE-2022-31031)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-31031"><img src="https://tridentstack.com/cve/badge/CVE-2022-31031.svg" alt="CVE-2022-31031"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-04.