CVE-2023-27585
published high CVSS 3.1 · 7.5pjsip: buffer overflow vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pjsip | — | pjproject<= 2.13 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | pjproject | Fixed | 2.13.1-r0 | Package fix record |
| Debian | bookworm | ring | Advisory build | 20230206.0~ds2-1.1+deb12u1 | DSA-5956-1 |
| Ubuntu | bionic | ring | Advisory build | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | USN-6422-1 |
| Alpine Linux | v3.18 | pjproject | Fixed | 2.13.1-r0 | Package fix record |
| Alpine Linux | v3.19 | pjproject | Fixed | 2.13.1-r0 | Package fix record |
| Alpine Linux | v3.20 | pjproject | Fixed | 2.13.1-r0 | Package fix record |
| Alpine Linux | v3.21 | pjproject | Fixed | 2.13.1-r0 | Package fix record |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | pjproject | Fixed | 2.13.1-r0 | Package fix record |
| Alpine Linux | v3.23 | pjproject | Fixed | 2.13.1-r0 | Package fix record |
| Alpine Linux | v3.24 | pjproject | Fixed | 2.13.1-r0 | Package fix record |
| Debian | bullseye | asterisk | Advisory build | 1:16.28.0~dfsg-0+deb11u3 | DSA-5438-1 |
| Debian | bullseye | ring | Advisory build | 20210112.2.b757bac~ds1-1+deb11u1 | DLA-3887-1 |
| Debian | buster | asterisk | Advisory build | 1:16.28.0~dfsg-0+deb10u3 | DLA-3394-1 |
| Debian | buster | ring | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2 | DLA-3549-1 |
| Ubuntu | bionic | ring-daemon | Advisory build | 20180228.1.503da2b~ds1-1ubuntu0.1~esm1 | USN-6422-1 |
| Ubuntu | focal | jami | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | jami-daemon | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | ring | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | focal | ring-daemon | Advisory build | 20190215.1.f152c98~ds1-1+deb10u2build0.20.04.1 | USN-6422-1 |
| Ubuntu | mantic | jami | Advisory build | 20230206.0~ds2-1.3ubuntu0.1 | USN-6422-2 |
| Ubuntu | mantic | jami-daemon | Advisory build | 20230206.0~ds2-1.3ubuntu0.1 | USN-6422-2 |
| Ubuntu | mantic | jami-daemon-dbgsym | Advisory build | 20230206.0~ds2-1.3ubuntu0.1 | USN-6422-2 |
| Ubuntu | mantic | jami-dbgsym | Advisory build | 20230206.0~ds2-1.3ubuntu0.1 | USN-6422-2 |
| Ubuntu | mantic | ring | Advisory build | 20230206.0~ds2-1.3ubuntu0.1 | USN-6422-2 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pjsip | pjproject | <= 2.13 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-122 CWE-122: Heap-based Buffer Overflow
- CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
8- https://github.com/pjsip/pjproject/commit/d1c5e4da5bae7f220bc30719888bb389c905c0c5
- https://github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4
- https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr
- [debian-lts-announce] 20230418 [SECURITY] [DLA 3394-1] asterisk security update https://lists.debian.org/debian-lts-announce/2023/04/msg00020.html
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html
- DSA-5438 https://www.debian.org/security/2023/dsa-5438
- https://www.pjsip.org/pjlib-util/docs/html/group__PJ__DNS__RESOLVER.htm
Provider assertions
3GitHub_M · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c40e5cec7a97ee5b3d0cf8c860d03ee330c401ec3f09b283c94c94f2c877ed4f
- Ingested
- 23 Sep 2026, 08:07:24 UTC
- Source record
- Official CVE record