VDB

CVE-2022-31003

CVE-2022-31003 PUBLISHED CVSS 9.1 CRITICAL

Heap-based Buffer Overflow and Out-of-bounds Write in Sofia-SIP

Reported by github_m · Published May 31, 2022

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.

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected products

VendorProductVersions
freeswitchsofia-sip< 1.13.8
freeswitchsofia-sip0
alpinesofia-sip0

Timeline

  • May 31, 2022 CVE Published
  • Jun 1, 2022 EPSS Score (30 in total, the first dated here)
  • Apr 22, 2025 CVE Updated
  • Mar 10, 2026 Distribution Patch
  • Mar 10, 2026 Security Advisory (2 in total, the first dated here)
  • Jun 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-31003
vulnetix vdb fixes CVE-2022-31003

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-31003/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›