CVE-2022-23547
Heap buffer overflow in pjproject when decoding STUN message
Reported by github_m · Published December 23, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pjsip | pjsip | 2.13.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pjsip | pjproject | <= 2.13 |
| pjsip | pjproject | 0 |
Timeline
- Dec 23, 2022 CVE Published
- Dec 24, 2022 EPSS Score (30 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Jul 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-23547
vulnetix vdb fixes CVE-2022-23547
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-23547/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-cxwq-5g9x-x7fr x_refsource_CONFIRM
- https://github.com/pjsip/pjproject/security/advisories/GHSA-9pfh-r8x4-w26w x_refsource_MISC
- https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html url