# CVE-2023-27598: OpenSIPS has vulnerability in the parse_via() function

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Published: 2023-03-15T20:29:49.673Z
- Modified: 2026-06-17T05:45:33.283Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, sending a malformed `Via` header to OpenSIPS triggers a segmentation fault when the function `calc_tag_suffix` is called. A specially crafted `Via` header, which is deemed correct by the parser, will pass uninitialized strings to the function `MD5StringArray` which leads to the crash. Abuse of this vulnerability leads to Denial of Service due to a crash. Since the uninitialized string points to memory location `0x0`, no further exploitation appears to be possible. No special network privileges are required to perform this attack, as long as the OpenSIPS configuration makes use of functions such as `sl_send_reply` or `sl_gen_totag` that trigger the vulnerable code. This issue has been fixed in versions 3.1.7 and 3.2.4.

(As written by CVE List.)

## Affected

- OpenSIPS opensips: < 3.1.7; >= 3.2.0, < 3.2.4; before 3.1.7; from 3.2.0 before 3.2.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/OpenSIPS/opensips/security/advisories/GHSA-wxfg-3gwh-rhvx> (third-party-advisory)
- <https://github.com/OpenSIPS/opensips/commit/ab611f74f69d9c42be5401c40d56ea06a58f5dd7> (patch, third-party-advisory)
- <https://opensips.org/pub/audit-2022/opensips-audit-technical-report-full.pdf> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-27598](https://www.cve.org/CVERecord?id=CVE-2023-27598), CVE Terms of Use, modified 2025-02-25
- NVD: [CVE-2023-27598](https://nvd.nist.gov/vuln/detail/CVE-2023-27598), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-27598 · Whole record: https://cve.day/CVE-2023-27598.json · Rebuilt by cve.day 2026-11-25T22:58:22.467Z
