Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-38703 EUVD-2023-42480

PJSIP has use-after-free vulnerability in SRTP media transport

Published Oct 6, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
pjsip pjproject <= 2.13.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 asterisk 1:20.8.1~dfsg+~cs6.14.40431414-1 —
Debian 12 ring No fix yet —
Debian 11 asterisk 1:16.28.0~dfsg-0+deb11u4 DSA-5596-1
Debian 10 asterisk 1:16.28.0~dfsg-0+deb10u4 DLA-3696-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 asterisk No fix yet —
Ubuntu 26.04 LTS asterisk No fix yet —
Ubuntu 25.10 asterisk No fix yet —
Ubuntu 24.04 LTS asterisk No fix yet —
Ubuntu 22.04 LTS asterisk No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ring +1 No fix yet —
Ubuntu 18.04 LTS asterisk No fix yet —
Ubuntu Pro 18.04 LTS ring No fix yet —
Ubuntu Pro 16.04 LTS asterisk No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 pjproject 2.14-r0 —
Alpine v3.23 pjproject 2.14-r0 —
Alpine v3.22 pjproject 2.14-r0 —
Alpine v3.21 pjproject 2.14-r0 —
Alpine v3.20 pjproject 2.14-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 pjproject 2.14-r0 —
Alpine v3.18 pjproject 2.14-r0 —

Advisories 2

References