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

Published Oct 6, 2023
·
Updated

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 (PJMEDIAHASSRTP 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 Software

14 affected componentsFixes available
Teluu PJSIP<=2.13.1
debian/ring*
debian/asterisk
1:16.28.0~dfsg-0+deb10u41:16.28.0~dfsg-0+deb11u41:20.8.1~dfsg+~cs6.14.40431414-1
debian/ring<=20230206.0~ds2-1.1+deb12u1
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/ring*
ubuntu/asterisk*
ubuntu/ring*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*
ubuntu/asterisk*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:16.28.0~dfsg-0+deb10u4Fixed in 1:16.28.0~dfsg-0+deb11u4Fixed in 1:20.8.1~dfsg+~cs6.14.40431414-1

Event History

Oct 6, 2023
CVE Published
via MITRE·01:46 PM
Data Sourced
01:46 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Data Sourced
10:30 PM
RemedyAffected Software
Updated
10:30 PM
Severity
Dec 29, 2023
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·12:15 AM
Affected Software
Aug 2, 2024
Data Sourced
via MITRE·05:46 PM
DescriptionSeverityWeakness
Feb 13, 2025
Updated
via NVD·05:16 PM
RemedyDescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-38703?

CVE-2023-38703 is a vulnerability in the PJSIP multimedia communication library that allows for unauthorized access and potential remote code execution.

2

What is PJSIP?

PJSIP is a free and open source multimedia communication library written in C with high-level APIs in C, C++, Java, C#, and Python.

3

What is the severity of CVE-2023-38703?

CVE-2023-38703 has a severity of critical with a CVSS score of 9.8.

4

What is SRTP?

SRTP is a higher-level media transport used in PJSIP, which is stacked upon a lower-level transport such as UDP and ICE.

5

How can I fix CVE-2023-38703?

To fix CVE-2023-38703, you should update the affected software to version 2.13.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203