CVE-2023-28096: OpenSIPS has memory leak in cJSON lib

Published Mar 15, 2023
·
Updated

OpenSIPS, a Session Initiation Protocol (SIP) server implementation, has a memory leak starting in the 2.3 branch and priot to versions 3.1.8 and 3.2.5. The memory leak was detected in the function parsemirequest while performing coverage-guided fuzzing. This issue can be reproduced by sending multiple requests of the form {"jsonrpc": "2.0","method": "logle. This malformed message was tested against an instance of OpenSIPS via FIFO transport layer and was found to increase the memory consumption over time.

To abuse this memory leak, attackers need to reach the management interface (MI) which typically should only be exposed on trusted interfaces. In cases where the MI is exposed to the internet without authentication, abuse of this issue will lead to memory exhaustion which may affect the underlying system’s availability. No authentication is typically required to reproduce this issue. On the other hand, memory leaks may occur in other areas of OpenSIPS where the cJSON library is used for parsing JSON objects.

The issue has been fixed in versions 3.1.8 and 3.2.5.

Affected Software

2 affected components
OpenSIPS OpenSIPS<3.1.8
OpenSIPS OpenSIPS>=3.2.0<3.2.5

Event History

Mar 15, 2023
CVE Published
via MITRE·09:52 PM
Data Sourced
via MITRE·09:52 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-28096?

CVE-2023-28096 has been classified with a medium severity due to the memory leak vulnerability affecting OpenSIPS versions prior to 3.1.8 and between 3.2.0 and 3.2.5.

2

How do I fix CVE-2023-28096?

To remediate CVE-2023-28096, you should upgrade OpenSIPS to version 3.1.8 or to version 3.2.5 or later.

3

What are the affected versions in CVE-2023-28096?

CVE-2023-28096 affects OpenSIPS versions prior to 3.1.8 and versions from 3.2.0 up to, but not including, 3.2.5.

4

What causes the memory leak in CVE-2023-28096?

The memory leak in CVE-2023-28096 is caused by an issue identified in the `parse_mi_request` function during coverage-guided fuzzing.

5

Is CVE-2023-28096 a critical vulnerability?

CVE-2023-28096 is not classified as a critical vulnerability, but it still poses a risk of memory exhaustion in affected OpenSIPS deployments.

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