Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-31003: Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library

70
This week
CRITICAL 9.1REMOTEWATCHLISTUPGRADEMITIGATE

CVE-2022-31003 is a critical-severity flaw (CVSS 9.1) 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, 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.

Why this priority

  • Critical severity
  • EPSS top 9%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance4.1% (top 9%)
CISA exploited listNo
WeaknessCWE-122, CWE-787
Published2022-05-31
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: debian · signalwire

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

signalwire sofia-sip UPGRADE
Affected: < 1.13.8
Fixed in: 1.13.8
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy sofia-sip || rpm -q sofia-sip || sofia-sip --version
2. UPGRADE to 1.13.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade sofia-sip
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade sofia-sip
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
debian debian linux MITIGATE
Affected: 10.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora ELN · luksmeta · FIXED · 11-3.eln159 · FEDORA-2026-5176083b78 · source
sudo dnf upgrade --advisory=FEDORA-2026-5176083b78
Fedora 46 · openscad · FIXED · 2021.01-34.fc46 · FEDORA-2026-faf1721128 · source
sudo dnf upgrade --advisory=FEDORA-2026-faf1721128
Ubuntu 20.04 · sofia-sip · FIXED · 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1
sudo apt update && sudo apt install --only-upgrade sofia-sip dpkg --compare-versions "$(dpkg-query -W -f='${Version}' sofia-sip)" ge "1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 22.04 · sofia-sip · FIXED · 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1
sudo apt update && sudo apt install --only-upgrade sofia-sip dpkg --compare-versions "$(dpkg-query -W -f='${Version}' sofia-sip)" ge "1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · sofia-sip · FIXED · 1.12.11+20110422.1+1e14eea~dfsg-3
sudo apt update && sudo apt install --only-upgrade sofia-sip dpkg --compare-versions "$(dpkg-query -W -f='${Version}' sofia-sip)" ge "1.12.11+20110422.1+1e14eea~dfsg-3" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · sofia-sip · FIXED · 1.12.11+20110422.1+1e14eea~dfsg-3
sudo apt update && sudo apt install --only-upgrade sofia-sip dpkg --compare-versions "$(dpkg-query -W -f='${Version}' sofia-sip)" ge "1.12.11+20110422.1+1e14eea~dfsg-3" && echo PATCHED || echo STILL-VULNERABLE
Alpine 3.20 · sofia-sip · FIXED · sofia-sip-1.13.8-r0
apk add --upgrade sofia-sip apk info -v sofia-sip
Alpine 3.21 · sofia-sip · FIXED · sofia-sip-1.13.8-r0
apk add --upgrade sofia-sip apk info -v sofia-sip
Alpine 3.22 · sofia-sip · FIXED · sofia-sip-1.13.8-r0
apk add --upgrade sofia-sip apk info -v sofia-sip
Alpine 3.23 · sofia-sip · FIXED · sofia-sip-1.13.8-r0
apk add --upgrade sofia-sip apk info -v sofia-sip
Verify at the official source NVD · CVE Program · Report a problem with this page
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-31003?

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-31003 being exploited?

CVE-2022-31003 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-31003 affect?

CVE-2022-31003 affects sofia-sip, debian linux. Severity is critical (CVSS 9.1). 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

How urgent is CVE-2022-31003?

Priority 70/100. Critical severity; EPSS top 9%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Debian vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.