Skip to content
Fencer Vulns
high 7.5

CVE-2023-27585 json

PJSIP is a free and open source multimedia communication library written in C.

published 2023-03-14 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-31328

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

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.

Patch / fix

  • teluu pjsip 2.13
  • ring Debian 12 20230206.0~ds2-1.1+deb12u1
  • asterisk Debian 14 1:20.4.0~dfsg+~cs6.13.40431414-1

debian advisories DEBIAN-CVE-2023-27585

  • ring Ubuntu 20.04 LTS 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1
  • ring Ubuntu Pro 18.04 LTS 20180228.1.503da2b~ds1-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2023-27585

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • pjproject Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 2.13.1-r0

alpine advisories ALPINE-CVE-2023-27585

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-27585 updated

pjsip: buffer overflow vulnerability

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

  • pjsip pjproject

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.