Vulnerability · Published Dec 20, 2022 · Assigned by GitHub_M

CVE-2022-23537PJSIP vulnerable to heap buffer overflow when decoding STUN message

Medium 6.5

In plain English

A medium-severity heap buffer overflow in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.1%top 33.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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. Buffer overread is possible when parsing a specially crafted STUN message with unknown attribute. The vulnerability affects applications that uses STUN including PJNATH and PJSUA-LIB. The patch is available as a commit in the master branch (2.13.1).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:14asterisk1:20.4.0~dfsg+~cs6.13.40431414-1DEBIAN-CVE-2022-23537
Debian:12ring20230206.0~ds1-1DEBIAN-CVE-2022-23537
Ubuntu:22.04:LTSasteriskno fix listedUBUNTU-CVE-2022-23537
Ubuntu:24.04:LTSasteriskno fix listedUBUNTU-CVE-2022-23537
Ubuntu:25.10asteriskno fix listedUBUNTU-CVE-2022-23537
Ubuntu:26.04:LTSasteriskno fix listedUBUNTU-CVE-2022-23537
Ubuntu:26.10asteriskno fix listedUBUNTU-CVE-2022-23537

Affected products (as reported)

VendorProductVersions
pjsip pjproject <= 2.13

Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

References