Skip to main content
VulnerabilityPublished Updated

CVE-2023-27585: pjsip pjproject · Heap-based Buffer Overflow

Affects pjsip pjprojectSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.3% chance of exploitation in 30 days – higher than 83% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Mar 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubpjsip/pjprojectpkg:github/pjsip/pjprojectOther threatsAffected
  • <=2.13
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Organizations should immediately update pjproject to the latest patched version containing commit d1c5e4d to address the vulnerability. If patching is not immediately feasible, configure PJSIP to disable its internal DNS resolver by setting the nameserver_count parameter to zero, forcing the use of an external, secure DNS resolver implementation. Network-level protections such as firewall rules to restrict DNS traffic to trusted resolvers can reduce exposure. Monitoring and logging DNS resolver activity within PJSIP-enabled applications can help detect anomalous behavior. Additionally, organizations should review their VoIP and multimedia communication architectures to identify and isolate vulnerable components. Regular vulnerability scanning and integration of PJSIP updates into patch management workflows will prevent recurrence. Finally, educating developers and system administrators about secure configuration of PJSIP components will enhance long-term security posture.

Description

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.

References

Community reviews

Loading reviews…