Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2022-23537
NixOS vulnerability analysis and mitigation

Overview

PJSIP, 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, was found to have a buffer overread vulnerability when parsing specially crafted STUN messages with unknown attributes. This vulnerability (CVE-2022-23537) affects applications that use STUN including PJNATH and PJSUA-LIB in versions prior to 2.13.1. The issue was discovered and reported through Google's OSS-Fuzz program (GitHub Advisory).

Technical details

The vulnerability stems from improper bounds checking when processing STUN messages containing unknown attributes. The issue occurs in the STUN message decoder functionality, where a buffer overread is possible due to incorrect handling of attribute lengths and padding. The vulnerability has been assigned a Critical severity rating with a CVSS v3.1 Base Score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) by NIST NVD (NVD).

Impact

If successfully exploited, this vulnerability could allow an attacker to read beyond the bounds of allocated memory, potentially leading to information disclosure or denial of service. The vulnerability affects applications that use STUN functionality through PJNATH and PJSUA-LIB components (GitHub Advisory).

Exploitability

The vulnerability can be triggered by sending specially crafted STUN messages with unknown attributes to an application using the affected PJSIP library. The attack vector is network-based and requires no authentication or user interaction (NVD).

Mitigation and workarounds

The vulnerability has been patched in PJSIP version 2.13.1. Users are advised to upgrade to this version or later. The fix involves improving bounds checking in the STUN message decoder and proper handling of attribute lengths. The patch is available as commit d8440f4 in the master branch (GitHub Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

v3.18

asterisk: 18.20.2-r0

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • gcc10-binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • gcc-toolset-16-binutils.src
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management