Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-31031

published critical CVSS 3.1 · 9.8

Potential stack buffer overflow when parsing message as a STUN client

Published
07 Jun 2022, 00:00:00 UTC
Updated
04 Nov 2025, 16:09:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pjsip — pjproject<= 2.12.1 Affected Not stated GitHub_M
Alpine Linux edge pjproject Fixed 2.13-r0 Package fix record
Debian bullseye asterisk Advisory build 1:16.28.0~dfsg-0+deb11u2 DSA-5358-1
Ubuntu bionic ring Advisory build 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 USN-6422-1
Alpine Linux v3.18 pjproject Fixed 2.13-r0 Package fix record
Alpine Linux v3.19 pjproject Fixed 2.13-r0 Package fix record
Alpine Linux v3.20 pjproject Fixed 2.13-r0 Package fix record
Alpine Linux v3.21 pjproject Fixed 2.13-r0 Package fix record
Show 11 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.22 pjproject Fixed 2.13-r0 Package fix record
Alpine Linux v3.23 pjproject Fixed 2.13-r0 Package fix record
Alpine Linux v3.24 pjproject Fixed 2.13-r0 Package fix record
Debian bullseye ring Advisory build 20210112.2.b757bac~ds1-1+deb11u1 DLA-3887-1
Debian buster asterisk Advisory build 1:16.28.0~dfsg-0+deb10u2 DLA-3335-1
Debian buster ring Advisory build 20190215.1.f152c98~ds1-1+deb10u2 DLA-3549-1
Ubuntu bionic ring-daemon Advisory build 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 USN-6422-1
Ubuntu focal jami Advisory build 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 USN-6422-1
Ubuntu focal jami-daemon Advisory build 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 USN-6422-1
Ubuntu focal ring Advisory build 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 USN-6422-1
Ubuntu focal ring-daemon Advisory build 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 USN-6422-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pjsip pjproject <= 2.12.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (GitHub_M · cna)

References

7

Provider assertions

3

GitHub_M · cna

Potential stack buffer overflow when parsing message as a STUN client

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b1193585264b84b44807d31be94e4dcedd863d6b388788ea52c5a9da59442abb
Ingested
23 Sep 2026, 08:00:25 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected