cve.bz

CVE-2022-31003 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 4.1%Fix available

Critical (9.8). EPSS 4.1% 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, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more serious consequence, such as remote code execution. Version 1.13.8 contains a patch for this issue.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
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-31003 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31003?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31003?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-31003 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

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-31003
Ubuntu18.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3build0.18.04.1UBUNTU-CVE-2022-31003 USN-5932-1
Ubuntu20.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1UBUNTU-CVE-2022-31003 USN-5932-1
Ubuntu22.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1UBUNTU-CVE-2022-31003 USN-5932-1
UbuntuPro:16.04:LTSsofia-sip1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1UBUNTU-CVE-2022-31003 USN-5932-1
Alpinev3.14, v3.15, v3.16 and 8 moresofia-sip1.13.8-r0ALPINE-CVE-2022-31003

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 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 · Alpine.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

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

References

Check your stackJSON