CVEfocus › CVE database › CVE-2023-38703

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

CVSS 9.8 CriticalEPSS 1.9% (higher than 81% of CVEs)Published 2023-10-06Updated 2025-02-13Assigner: GitHub_M

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.

CWE-416

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
2Fix pending
3Under investigation
7Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10asteriskFix pendingUBUNTU-CVE-2023-38703
Ubuntu 26.04asteriskUnder investigationUBUNTU-CVE-2023-38703
Ubuntu 25.10asteriskWill not fix
asterisk and ring both contain embedded copies of pjsip.
UBUNTU-CVE-2023-38703
Ubuntu 24.04asteriskUnder investigationUBUNTU-CVE-2023-38703
Ubuntu 22.04asteriskUnder investigationUBUNTU-CVE-2023-38703
Ubuntu 20.04asteriskWill not fix
asterisk and ring both contain embedded copies of pjsip.
UBUNTU-CVE-2023-38703
Ubuntu 20.04ringWill not fix
asterisk and ring both contain embedded copies of pjsip.
UBUNTU-CVE-2023-38703
Ubuntu 18.04asteriskWill not fix
asterisk and ring both contain embedded copies of pjsip.
UBUNTU-CVE-2023-38703
Ubuntu 18.04ringFix pendingUBUNTU-CVE-2023-38703
Ubuntu 16.04asteriskWill not fix
asterisk and ring both contain embedded copies of pjsip.
UBUNTU-CVE-2023-38703
Ubuntu 14.04asteriskWill not fix
asterisk and ring both contain embedded copies of pjsip.
Debian 12ringWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-38703
Alpine Linux 3.24pjprojectFixed2.14-r0ALPINE-CVE-2023-38703
Alpine Linux 3.23pjprojectFixed2.14-r0ALPINE-CVE-2023-38703
Alpine Linux 3.22pjprojectFixed2.14-r0ALPINE-CVE-2023-38703
Alpine Linux 3.21pjprojectFixed2.14-r0ALPINE-CVE-2023-38703
Alpine Linux 3.20pjprojectFixed2.14-r0ALPINE-CVE-2023-38703
Alpine Linux 3.19pjprojectFixed2.14-r0ALPINE-CVE-2023-38703
Alpine Linux 3.18pjprojectFixed2.14-r0ALPINE-CVE-2023-38703

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.