---
cve: "CVE-2022-31031"
severity: "CRITICAL"
cvss: 9.8
epss: "1.9%"
vendor: "pjsip"
kev: false
exploited: false
published: "2022-06-09 16:15:08"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-09-07T06:07:04+02:00"
---

# CVE-2022-31031

> 9.8 CRITICAL · 🧪 PoC

## Beschreibung

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-Vektor

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

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- 450baca94f475345542c6953832650c390889202 (Commit)

## Referenzen

- <https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj>
- <https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202>
- <https://security.gentoo.org/glsa/202210-37>
- <https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html>
- <https://www.debian.org/security/2023/dsa-5358>
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2022-31031) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
