cve.bz

CVE-2022-31001 Out-of-bounds Read

7.5 highExploit referenceEPSS 2.2%Fix available

High (7.5). EPSS 2.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31001 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31001?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31001?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31001 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
signalwire:sofia-sipbefore 1.13.8
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10sofia-sip1.12.11+20110422.1-2.1+deb10u1DLA-3091-1
Debian11sofia-sip1.12.11+20110422.1-2.1+deb11u1DSA-5410-1
Debian12, 13, 14sofia-sip1.12.11+20110422.1+1e14eea~dfsg-3DEBIAN-CVE-2022-31001
Ubuntu18.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3build0.18.04.1UBUNTU-CVE-2022-31001 USN-5932-1
Ubuntu20.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1UBUNTU-CVE-2022-31001 USN-5932-1
Ubuntu22.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1UBUNTU-CVE-2022-31001 USN-5932-1
UbuntuPro:16.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1UBUNTU-CVE-2022-31001 USN-5932-1
openSUSETumbleweedsofia-sip1.13.17+50-1.1openSUSE-SU-2026:10964-1
Alpinev3.14, v3.15, v3.16 and 8 moresofia-sip1.13.8-r0ALPINE-CVE-2022-31001

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON