PJSIP up to 2.13 nameserver_count heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in PJSIP up to 2.13. This issue affects the function nameserver_count. The manipulation results in heap-based overflow.
This vulnerability is reported as CVE-2023-27585. The attack can be launched remotely. No exploit exists.
Applying a patch is advised to resolve this issue.
Details
A vulnerability, which was classified as critical, was found in PJSIP up to 2.13. Affected is the function nameserver_count. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on availability. CVE summarizes:
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.
The weakness was disclosed 03/19/2023 as GHSA-p6g5-v97c-w5q4. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2023-27585 since 03/04/2023. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 241238 (Debian dsa-5956 : jami - security update), which helps to determine the existence of the flaw in a target environment.
Applying the patch d1c5e4da5bae7f220bc30719888bb389c905c0c5 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (241238) and EUVD (EUVD-2023-31328). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 7.5
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 241238
Nessus Name: Debian dsa-5956 : jami - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: d1c5e4da5bae7f220bc30719888bb389c905c0c5
Timeline
03/04/2023 🔍03/19/2023 🔍
03/19/2023 🔍
11/18/2025 🔍
Sources
Advisory: GHSA-p6g5-v97c-w5q4Status: Confirmed
CVE: CVE-2023-27585 (🔍)
GCVE (CVE): GCVE-0-2023-27585
GCVE (VulDB): GCVE-100-223392
EUVD: 🔍
Entry
Created: 03/19/2023 08:07Updated: 11/18/2025 13:52
Changes: 03/19/2023 08:07 (51), 07/03/2025 17:59 (17), 11/06/2025 00:19 (12), 11/18/2025 13:52 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.