Vulnerability · Published Apr 25, 2022 · Assigned by GitHub_M

CVE-2022-24792 Potential infinite loop when parsing WAV format file in PJSIP

High 7.5

In plain English

A high-severity infinite loop in pjproject from pjsip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 81% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.1%top 18.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

PJSIP is a free and open source multimedia communication library written in C. A denial-of-service vulnerability affects applications on a 32-bit systems that use PJSIP versions 2.12 and prior to play/read invalid WAV files. The vulnerability occurs when reading WAV file data chunks with length greater than 31-bit integers. The vulnerability does not affect 64-bit apps and should not affect apps that only plays trusted WAV files. A patch is available on the `master` branch of the `pjsip/project` GitHub repository. As a workaround, apps can reject a WAV file received from an unknown source or validate the file first.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20pjproject2.12.1-r0ALPINE-CVE-2022-24792
Alpine:v3.21pjproject2.12.1-r0ALPINE-CVE-2022-24792
Alpine:v3.22pjproject2.12.1-r0ALPINE-CVE-2022-24792
Alpine:v3.23pjproject2.12.1-r0ALPINE-CVE-2022-24792
Alpine:v3.24pjproject2.12.1-r0ALPINE-CVE-2022-24792
Debian:14asterisk1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1DEBIAN-CVE-2022-24792
Debian:12ring20230206.0~ds1-1DEBIAN-CVE-2022-24792
Ubuntu:22.04:LTSasteriskno fix listedUBUNTU-CVE-2022-24792
Ubuntu:24.04:LTSasteriskno fix listedUBUNTU-CVE-2022-24792
Ubuntu:25.10asteriskno fix listedUBUNTU-CVE-2022-24792
Ubuntu:26.04:LTSasteriskno fix listedUBUNTU-CVE-2022-24792
Ubuntu:26.10asteriskno fix listedUBUNTU-CVE-2022-24792

Affected products (as reported)

VendorProductVersions
pjsip pjproject <= 2.12

Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References