Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-22741

published critical CVSS 3.1 · 9.8

heap-over-flow in stun_parse_attribute in sofia-sip

Published
19 Jan 2023, 21:20:22 UTC
Updated
10 Mar 2025, 21:21:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
freeswitch — sofia-sip< 1.13.11 Affected Not stated GitHub_M
Alpine Linux edge sofia-sip Fixed 1.13.11-r0 Package fix record
Debian bullseye sofia-sip Advisory build 1.12.11+20110422.1-2.1+deb11u1 DSA-5410-1
Ubuntu bionic sofia-sip Advisory build 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 USN-5932-1
Alpine Linux v3.14 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.15 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.16 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.17 sofia-sip Fixed 1.13.11-r0 Package fix record
Show 23 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.18 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.19 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.20 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.21 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.22 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.23 sofia-sip Fixed 1.13.11-r0 Package fix record
Alpine Linux v3.24 sofia-sip Fixed 1.13.11-r0 Package fix record
Debian buster sofia-sip Advisory build 1.12.11+20110422.1-2.1+deb10u2 DLA-3292-1
Ubuntu focal sofia-sip Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 USN-5932-1
Ubuntu jammy sofia-sip Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 USN-5932-1
Ubuntu xenial sofia-sip Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 USN-5932-1
Ubuntu bionic libsofia-sip-ua-glib3 Advisory build 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 USN-5932-1
Ubuntu bionic libsofia-sip-ua0 Advisory build 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 USN-5932-1
Ubuntu bionic sofia-sip-bin Advisory build 1.12.11+20110422.1-2.1+deb10u3build0.18.04.1 USN-5932-1
Ubuntu focal libsofia-sip-ua-glib3 Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 USN-5932-1
Ubuntu focal libsofia-sip-ua0 Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 USN-5932-1
Ubuntu focal sofia-sip-bin Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1 USN-5932-1
Ubuntu jammy libsofia-sip-ua-glib3 Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 USN-5932-1
Ubuntu jammy libsofia-sip-ua0 Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 USN-5932-1
Ubuntu jammy sofia-sip-bin Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1 USN-5932-1
Ubuntu xenial libsofia-sip-ua-glib3 Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 USN-5932-1
Ubuntu xenial libsofia-sip-ua0 Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 USN-5932-1
Ubuntu xenial sofia-sip-bin Advisory build 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1 USN-5932-1

Description

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. In affected versions Sofia-SIP **lacks both message length and attributes length checks** when it handles STUN packets, leading to controllable heap-over-flow. For example, in stun_parse_attribute(), after we get the attribute's type and length value, the length will be used directly to copy from the heap, regardless of the message's left size. Since network users control the overflowed length, and the data is written to heap chunks later, attackers may achieve remote code execution by heap grooming or other exploitation methods. The bug was introduced 16 years ago in sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs with git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3774 d0543943-73ff-0310-b7d9-9358b9ac24b2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

18

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
freeswitch sofia-sip < 1.13.11 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-120 CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (GitHub_M · cna)

References

3

Provider assertions

3

GitHub_M · cna

heap-over-flow in stun_parse_attribute in sofia-sip

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c89df404b3e8e7aa084164d639bed73dfb67b77cdc1143e26a0f29c82b903fc6
Ingested
23 Sep 2026, 08:06:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected