Skip to content
Fencer Vulns
high 7.5

CVE-2022-31002 json

Out-of-bounds Read in Sofia-SIP

published 2022-05-31 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52709

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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 a crash. This type of crash may be caused by a URL ending with `%`. Version 1.13.8 contains a patch for this issue.

Patch / fix

  • signalwire sofia-sip 1.13.8
  • sofia-sip Debian 14, Debian 13, Debian 12 1.12.11+20110422.1+1e14eea~dfsg-3

debian advisories DEBIAN-CVE-2022-31002

  • sofia-sip Ubuntu 18.04 LTS 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1
  • sofia-sip Ubuntu 20.04 LTS 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1
  • sofia-sip Ubuntu 22.04 LTS 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1
  • sofia-sip Ubuntu Pro 16.04 LTS 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1

ubuntu advisories UBUNTU-CVE-2022-31002

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • sofia-sip Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.13.8-r0

alpine advisories ALPINE-CVE-2022-31002

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-31002 updated cvss 7.5

sofia-sip: out-of-bounds read in url_canonize2() in url.c

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

1.93% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-g3x6-p824-x6hm referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected products

  • freeswitch sofia-sip

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.