# CVE-2022-23547: Heap buffer overflow in pjproject when decoding STUN message

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.22%, higher than 69% of CVEs (2026-11-30)
- Published: 2022-12-23T14:00:22.817Z
- Modified: 2026-06-17T04:30:20.000Z
- Weaknesses: CWE-122, CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. This issue is similar to GHSA-9pfh-r8x4-w26w. Possible buffer overread when parsing a certain STUN message. The vulnerability affects applications that uses STUN including PJNATH and PJSUA-LIB. The patch is available as commit in the master branch.

(As written by CVE List.)

## Affected

- pjsip pjproject: <= 2.13
- pjsip pjsip: before 2.13.1

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pjsip/pjproject/security/advisories/GHSA-cxwq-5g9x-x7fr> (patch, third-party-advisory)
- <https://github.com/pjsip/pjproject/security/advisories/GHSA-9pfh-r8x4-w26w> (patch, third-party-advisory)
- <https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html>

## Sources

- CVE List: [CVE-2022-23547](https://www.cve.org/CVERecord?id=CVE-2022-23547), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2022-23547](https://nvd.nist.gov/vuln/detail/CVE-2022-23547), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23547 · Whole record: https://cve.day/CVE-2022-23547.json · Rebuilt by cve.day 2026-11-25T22:58:17.836Z
