# CVE-2023-27585: asterisk: PJSIP is a free and open source multimedia communication library written in C

CVE-2023-27585 is fixed in 5 products on 1 platform, first by jami 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1, released March 14, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-27585
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0231
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 14, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | asterisk Debian 11.6 (bullseye) | 1:16.28.0~dfsg-0+deb11u3 | [DSA-5438-1](https://patchblox.com/security/data/fix/linux/dsa-5438-1.md) | Jun 22, 2023 |
| Linux | asterisk Debian 14 | 1:20.4.0~dfsg+~cs6.13.40431414-1 | [DEBIAN-CVE-2023-27585](https://patchblox.com/security/data/fix/linux/debian-cve-2023-27585.md) | Mar 14, 2023 |
| Linux | jami Ubuntu 20.04 LTS (focal) | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | [jami 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-jami-20190215.1.f152c98-ds1-1-deb10u2build0.20.04.1.md) | Mar 14, 2023 |
| Linux | jami-daemon Ubuntu 20.04 LTS (focal) | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | [jami-daemon 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-jami-daemon-20190215.1.f152c98-ds1-1-deb10u2build0.20.04.1.md) | Mar 14, 2023 |
| Linux | ring Debian 12.15 (bookworm) | 20230206.0~ds2-1.1+deb12u1 | [DSA-5956-1](https://patchblox.com/security/data/fix/linux/dsa-5956-1.md) | Jul 3, 2025 |
| Linux | ring Ubuntu 18.04.6 LTS (bionic) | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | [ring 20180228.1.503da2b~ds1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ring-20180228.1.503da2b-ds1-1ubuntu0.1-esm1.md) | Mar 14, 2023 |
| Linux | ring Ubuntu 20.04 LTS (focal) | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | [ring 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ring-20190215.1.f152c98-ds1-1-deb10u2build0.20.04.1.md) | Mar 14, 2023 |
| Linux | ring-daemon Ubuntu 18.04.6 LTS (bionic) | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | [ring-daemon 20180228.1.503da2b~ds1-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ring-daemon-20180228.1.503da2b-ds1-1ubuntu0.1-esm1.md) | Mar 14, 2023 |
| Linux | ring-daemon Ubuntu 20.04 LTS (focal) | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | [ring-daemon 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ring-daemon-20190215.1.f152c98-ds1-1-deb10u2build0.20.04.1.md) | Mar 14, 2023 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
