CVE-2022-31001: Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library
CVE-2022-31001 is a high-severity flaw (CVSS 7.5) affecting sofia-sip, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause crash. This type of crash may be caused by `#define MATCH(s, m) (strncmp(s, m, n = sizeof(m) - 1) == 0)`, which will make `n` bigger and trigger out-of-bound access when `IS_NON_WS(s[n])`. Version 1.13.8 contains a patch for this issue.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.2% (top 18%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2022-05-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-31001?
sofia-sip: upgrade to 1.13.8; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-31001 being exploited?
CVE-2022-31001 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-31001 affect?
CVE-2022-31001 affects sofia-sip, debian linux. Severity is high (CVSS 7.5). Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause crash. This type of crash may be caused by `#define MATCH
How urgent is CVE-2022-31001?
Priority 62/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2023-32307 HIGH 7.5 UPGRADE MITIGATE Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring t
- CVE-2023-22741 CRITICAL 9.8 UPGRADE Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification
- CVE-2022-31003 CRITICAL 9.1 UPGRADE MITIGATE Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library
- CVE-2022-31002 HIGH 7.5 UPGRADE MITIGATE Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library