CVEfocus › CVE database › CVE-2023-27585

CVE-2023-27585

CVSS 7.5 HighEPSS 2.6% (higher than 86% of CVEs)Published 2023-03-14Updated 2025-11-04Assigner: GitHub_M

PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.13 and prior affects applications that use PJSIP DNS resolver. It doesn't affect PJSIP users who do not utilise PJSIP DNS resolver. This vulnerability is related to CVE-2022-24793. The difference is that this issue is in parsing the query record `parse_query()`, while the issue in CVE-2022-24793 is in `parse_rr()`. A patch is available as commit `d1c5e4d` in the `master` branch. A workaround is to disable DNS resolution in PJSIP config (by setting `nameserver_count` to zero) or use an external resolver implementation instead.

CWE-120CWE-122

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: 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

9Fixed
4Fix pending

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 20.04ringFixed20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1UBUNTU-CVE-2023-27585
Ubuntu 18.04pjprojectFix pendingUBUNTU-CVE-2023-27585
Ubuntu 18.04ringFix pending20180228.1.503da2b~ds1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-27585
Ubuntu 16.04pjprojectFix pendingUBUNTU-CVE-2023-27585
Ubuntu 14.04pjprojectFix pending
Debian 12ringFixed20230206.0~ds2-1.1+deb12u1DEBIAN-CVE-2023-27585
Alpine Linux 3.24pjprojectFixed2.13.1-r0ALPINE-CVE-2023-27585
Alpine Linux 3.23pjprojectFixed2.13.1-r0ALPINE-CVE-2023-27585
Alpine Linux 3.22pjprojectFixed2.13.1-r0ALPINE-CVE-2023-27585
Alpine Linux 3.21pjprojectFixed2.13.1-r0ALPINE-CVE-2023-27585
Alpine Linux 3.20pjprojectFixed2.13.1-r0ALPINE-CVE-2023-27585
Alpine Linux 3.19pjprojectFixed2.13.1-r0ALPINE-CVE-2023-27585
Alpine Linux 3.18pjprojectFixed2.13.1-r0ALPINE-CVE-2023-27585

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.

Vendor advisories:

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.