CVE-2022-24793
JSON

7.5high

Potential heap buffer overflow when parsing DNS packets in PJSIP

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
2.18% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
pjsip pjproject<= 2.12CVE List
pjsip pjsipup to 2.12NVD
debian debian_linux9.0, 10.0, 11.0NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

CWE-120

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

PJSIP es una biblioteca de comunicación multimedia gratuita y de código abierto escrita en C. Una vulnerabilidad de desbordamiento de búfer en versiones 2.12 y anteriores afecta a las aplicaciones que usan la resolución de DNS de PJSIP. No afecta a usuarios de PJSIP que usan una resolución externa. Se presenta un parche disponible en la rama "master" del repositorio GitHub "pjsip/pjproject". Una mitigación es deshabilitar la resolución de DNS en la configuración de PJSIP (estableciendo "nameserver_count" a cero) o usar una resolución externa en su lugar

References

Sources

SourceRecordLicence
CVE ListCVE-2022-24793 changed 2025-11-04CVE Terms of Use
NVDCVE-2022-24793 changed 2026-06-17Public domain