Vulnerability · Published Oct 6, 2023 · Assigned by GitHub_M

CVE-2023-38703PJSIP has use-after-free vulnerability in SRTP media transport

Critical 9.8

In plain English

A critical-severity use-after-free 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.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.6%top 24.2% 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 with high level API in C, C++, Java, C#, and Python languages. SRTP is a higher level media transport which is stacked upon a lower level media transport such as UDP and ICE. Currently a higher level transport is not synchronized with its lower level transport that may introduce use-after-free issue. This vulnerability affects applications that have SRTP capability (`PJMEDIA_HAS_SRTP` is set) and use underlying media transport other than UDP. This vulnerability’s impact may range from unexpected application termination to control flow hijack/memory corruption. The patch is available as a commit in the master branch.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20pjproject2.14-r0ALPINE-CVE-2023-38703
Alpine:v3.21pjproject2.14-r0ALPINE-CVE-2023-38703
Alpine:v3.22pjproject2.14-r0ALPINE-CVE-2023-38703
Alpine:v3.23pjproject2.14-r0ALPINE-CVE-2023-38703
Alpine:v3.24pjproject2.14-r0ALPINE-CVE-2023-38703
Debian:14asterisk1:20.8.1~dfsg+~cs6.14.40431414-1DEBIAN-CVE-2023-38703
Debian:12ringno fix listedDEBIAN-CVE-2023-38703
Ubuntu:22.04:LTSasteriskno fix listedUBUNTU-CVE-2023-38703
Ubuntu:24.04:LTSasteriskno fix listedUBUNTU-CVE-2023-38703
Ubuntu:25.10asteriskno fix listedUBUNTU-CVE-2023-38703
Ubuntu:26.04:LTSasteriskno fix listedUBUNTU-CVE-2023-38703
Ubuntu:26.10asteriskno fix listedUBUNTU-CVE-2023-38703

Affected products (as reported)

VendorProductVersions
pjsip pjproject <= 2.13.1

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

References