CVE-2023-27585

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.

Published: 2023-03-14 Last update: 2025-11-04 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-27585 is rated Moderate Risk (53.1/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.50%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-27585

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-27 0.45% 0.50% +0.05%
2 2026-04-21 0.46% 0.45% -0.02%
3 2026-03-15 0.46%

Full EPSS history (32 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-27585

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2023-27585

OS Trackers for CVE-2023-27585

vendor priority summary link
alpine high CVE-2023-27585: 1 source package rows (pjproject); 31 state rows across 6 repos (3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 6, open 25. https://security.alpinelinux.org/vuln/CVE-2023-27585
debian not yet assigned CVE-2023-27585 not yet assigned priority: Debian including 2 source packages (asterisk, ring), 4 status rows across 3 suites (bookworm, bullseye, sid): resolved 4. https://security-tracker.debian.org/tracker/CVE-2023-27585
gentoo normal CVE-2023-27585: 1 GLSA(s) (202409-05), 1 atom(s) (net-libs/pjproject); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-27585
ubuntu medium CVE-2023-27585 medium priority: Ubuntu including 2 source packages (pjproject, ring), 19 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 7, released 5, ignored 4, needed 2, needs-triage 1. https://ubuntu.com/security/CVE-2023-27585

Affected software / configurations for CVE-2023-27585

Vendor Product Version Raw CPE
teluu pjsip < 2.13 cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*

References for CVE-2023-27585

cvelogic Threat Intelligence