Potential heap buffer overflow when parsing DNS packets in PJSIP
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.12 and prior affects applications that use PJSIP DNS resolution. It doesn't affect PJSIP users who utilize an external resolver. This vulnerability is related to CVE-2023-27585. The difference is that this issue is in parsing the query record `parse_rr()`, while the issue in CVE-2023-27585 is in `parse_query()`. A patch is available in the `master` branch of the `pjsip/pjproject` GitHub repository. A workaround is to disable DNS resolution in PJSIP config (by setting `nameserver_count` to zero) or use an external resolver instead.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pjsip | pjproject | up to 2.12 | — | No fix listed | CNA |
- pjproject Vendorpjsip Affected up to 2.12 Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:* | up to 2.12 | Vulnerable | pjsip |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:* Versions up to 2.12 Vulnerable ·pjsip
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24793
References
Patch 2
Advisory 4
More Pjsip vulnerabilities
- TI-2022-08599 Potential out-of-bound read/write in PJSIP CVSS 3.1CRITICAL 9.8
- TI-2026-21009 PJSIP has a heap buffer overflow in ICE with long username CVSS 4.0HIGH 8.1
- TI-2022-18621 Buffer overflow in pjlib scanner and pjmedia CVSS 3.1CRITICAL 9.8
- TI-2026-29548 PJSIP: Stack buffer overflow in pjsip_auth_create_digest2() CVSS 4.0HIGH 8.1
- TI-2026-23213 PJSIP: Stack buffer overflow in Opus codec parser CVSS 4.0HIGH 8.7
- TI-2026-22993 PJSIP: Heap use-after-free in PJSIP presence subscription termination handler CVSS 4.0HIGH 8.7
Sources
- CVE-2022-24793 · CVE Program
- CVE-2022-24793 · NVD
- FIRST EPSS
- CVE-2022-24793 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences