CWE
416
Advisory Published
Updated

CVE-2022-42705: Use After Free

First published: Mon Dec 05 2022(Updated: )

A use-after-free in res_pjsip_pubsub.c in Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2 may allow a remote authenticated attacker to crash Asterisk (denial of service) by performing activity on a subscription via a reliable transport at the same time that Asterisk is also performing activity on that subscription.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Sangoma Asterisk>=16.0.0<16.29.1
Sangoma Asterisk>=18.14.0<18.15.1
Sangoma Asterisk>=19.6.0<19.7.1
Sangoma Asterisk=20.0.0
Sangoma Certified Asterisk=18.9-cert2
debian/asterisk<=1:16.2.1~dfsg-1+deb10u2
1:16.28.0~dfsg-0+deb10u4
1:16.28.0~dfsg-0+deb11u3
1:20.5.2~dfsg+~cs6.13.40431414-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-42705?

    CVE-2022-42705 is a use-after-free vulnerability in Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2.

  • How does CVE-2022-42705 affect Sangoma Asterisk?

    CVE-2022-42705 may allow a remote authenticated attacker to crash Asterisk (denial of service) by performing activity on a subscription via a reliable transport at the same time that Asterisk is also performing operations on the same subscription.

  • Which versions of Sangoma Asterisk are affected by CVE-2022-42705?

    Sangoma Asterisk 16.28, 18.14, 19.6, and certified/18.9-cert2 are affected by CVE-2022-42705.

  • How can I mitigate the impact of CVE-2022-42705?

    To mitigate the impact of CVE-2022-42705, it is recommended to update Sangoma Asterisk to the patched versions provided by the vendor.

  • Where can I find more information about CVE-2022-42705?

    You can find more information about CVE-2022-42705 on the official Asterisk issue tracker (JIRA), the Asterisk security advisory, and the Asterisk Git repository.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203