Every CVE Search/ Get API key

CVE-2023-32307

heap-over-flow and integer-overflow in sofia-sip

7.5 HighFix available

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.06%Up 1.0 points since May 27, 2023
90%50%10%1%

What each source reports

CVE List Score used 7.5

heap-over-flow and integer-overflow in sofia-sip

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

Record
CVE-2023-32307
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-190, CWE-122
Updated
2026-11-02
EUVDEUVD-2023-36559 7.5

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

Record
EUVD-2023-36559
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
NVD 7.5

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

Record
CVE-2023-32307
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122, CWE-190, CWE-787
Updated
2026-11-02
OSV 7.5

heap-over-flow and integer-overflow in sofia-sip

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

Record
CVE-2023-32307
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-122, CWE-190
Updated
2026-11-02
OSVDEBIAN-CVE-2023-32307 7.5

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

Record
DEBIAN-CVE-2023-32307
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-2682 7.5

sofia-sip security update

Sofia SIP is a RFC-3261-compliant library for SIP user agents and other network elements. The Session Initiation Protocol (SIP) is an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants. These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences.

Security Fix(es):

An issue was discovered in the libsofia-sip fork in drachtio-server before 0.8.20. It allows remote attackers to cause a denial of service (daemon crash) via a crafted UDP message that leads to a failure of the libsofia-sip-ua/tport/tport.c self assertion.(CVE-2022-47516)

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.(CVE-2023-32307)

Record
OESA-2026-2682
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVOESA-2026-2683 7.5

sofia-sip security update

Sofia SIP is a RFC-3261-compliant library for SIP user agents and other network elements. The Session Initiation Protocol (SIP) is an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants. These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences.

Security Fix(es):

An issue was discovered in the libsofia-sip fork in drachtio-server before 0.8.20. It allows remote attackers to cause a denial of service (daemon crash) via a crafted UDP message that leads to a failure of the libsofia-sip-ua/tport/tport.c self assertion.(CVE-2022-47516)

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.(CVE-2023-32307)

Record
OESA-2026-2683
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-32307 7.5

Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to GHSA-8599-x7rq-fr54, several other potential heap-over-flow and integer-overflow in stun_parse_attr_error_code and stun_parse_attr_uint32 were found because the lack of attributes length check when Sofia-SIP handles STUN packets. The previous patch of GHSA-8599-x7rq-fr54 fixed the vulnerability when attr_type did not match the enum value, but there are also vulnerabilities in the handling of other valid cases. The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. These issue have been addressed in version 1.13.15. Users are advised to upgrade.

Record
UBUNTU-CVE-2023-32307
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2023-0209 No score

Updated sofia-sip packages fix security vulnerability

The OOB read and integer-overflow made by attacker may lead to crash, high consumption of memory or even other more serious consequences. (CVE-2023-32307)

Record
MGASA-2023-0209
Updated
2026-11-02
OSVUSN-6448-1 No score

sofia-sip vulnerability

Xu Biang discovered that Sofia-SIP did not properly manage memory when handling STUN packets. An attacker could use this issue to cause Sofia-SIP to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-6448-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sofia-sip
Debian:12
before 1.12.11+20110422.1+1e14eea~dfsg-6
1.12.11+20110422.1+1e14eea~dfsg-6
sofia-sip
Debian:13
before 1.12.11+20110422.1+1e14eea~dfsg-6
1.12.11+20110422.1+1e14eea~dfsg-6
sofia-sip
Debian:14
before 1.12.11+20110422.1+1e14eea~dfsg-6
1.12.11+20110422.1+1e14eea~dfsg-6
sofia-sip
Debian:10
before 1.12.11+20110422.1-2.1+deb10u4, plus listed versions
1.12.11+20110422.1-2.11.12.11+20110422.1-2.1+deb10u11.12.11+20110422.1-2.1+deb10u21.12.11+20110422.1-2.1+deb10u3
1.12.11+20110422.1-2.1+deb10u4
sofia-sip
Debian:11
before 1.12.11+20110422.1-2.1+deb11u2, plus listed versions
1.12.11+20110422.1-2.11.12.11+20110422.1-2.1+deb11u1
1.12.11+20110422.1-2.1+deb11u2
sofia-sip
Mageia:8
before 1.12.11-10.4.mga8
1.12.11-10.4.mga8
sofia-sip
openEuler:24.03-LTS-SP1
before 1.13.12-2.oe2403sp1
1.13.12-2.oe2403sp1
sofia-sip
openEuler:24.03-LTS-SP3
before 1.13.12-2.oe2403sp3
1.13.12-2.oe2403sp3
sofia-sip
Ubuntu:Pro:16.04:LTS
before 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2, plus listed versions
1.12.11+20110422.1-2ubuntu11.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm1
1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2
sofia-sip
Ubuntu:Pro:18.04:LTS
before 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1, plus listed versions
1.12.11+20110422.1-2.11.12.11+20110422.1-2.1build11.12.11+20110422.1-2.1+deb10u3build0.18.04.1
1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1
sofia-sip
Ubuntu:20.04:LTS
before 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2, plus listed versions
1.12.11+20110422.1-2.1build11.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.1
1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2
sofia-sip
Ubuntu:22.04:LTS
before 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2, plus listed versions
1.12.11+20110422.1-2.1ubuntu11.12.11+20110422.1-2.1ubuntu21.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.1
1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-32307 is a high vulnerability (CVSS 7.5) in Freeswitch Sofia-sip, published May 26, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.06%, the 64th percentile. Fixed in sofia-sip 1.12.11+20110422.1+1e14eea~dfsg-6.

References

Show 11 moreShow less
MoveEnter Open