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

Published Apr 25, 2022
·
Updated

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 Software

17 affected componentsFixes available
Teluu PJSIP<=2.12
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
debian/asterisk<1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1
1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1
debian/ring<20230206.0~ds1-1
20230206.0~ds1-1
debian/asterisk
1:22.10.1+dfsg+~cs6.17.60671434-1
debian/ring
20230206.0~ds2-1.1+deb12u1
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0
alpine/pjproject<2.12.1-r0
2.12.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:22.10.1+dfsg+~cs6.17.60671434-1
  2. Upgrade

    Upgrade debian/ring to a version that resolves this vulnerability.

    Fixed in 20230206.0~ds2-1.1+deb12u1
  3. Upgrade

    Upgrade alpine/pjproject to a version that resolves this vulnerability.

    Fixed in 2.12.1-r0
  4. Upgrade

    Upgrade debian/asterisk to a version that resolves this vulnerability.

    Fixed in 1:18.14.0~~rc1~dfsg+~cs6.12.40431414-1
  5. Upgrade

    Upgrade debian/ring to a version that resolves this vulnerability.

    Fixed in 20230206.0~ds1-1
  6. Compensating control

    For 32-bit applications, reject WAV files received from unknown sources or validate WAV files before playing or reading them.

Event History

Apr 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:16 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-24792?

CVE-2022-24792 is a denial-of-service vulnerability that affects applications on 32-bit systems using PJSIP versions 2.12 and prior.

2

Which software are affected by CVE-2022-24792?

Applications on 32-bit systems that use PJSIP versions 2.12 and prior are affected by CVE-2022-24792.

3

How does CVE-2022-24792 occur?

CVE-2022-24792 occurs when reading WAV file data chunks with a length greater than the actual size of the file.

4

What is the severity of CVE-2022-24792?

CVE-2022-24792 has a severity of 7.5 (high).

5

How can I fix CVE-2022-24792?

To fix CVE-2022-24792, update to a version of PJSIP that is 2.12 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203