CVE-2023-32307
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.
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
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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
sofia-sipDebian:12 |
before 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 |
sofia-sipDebian:13 |
before 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 |
sofia-sipDebian:14 |
before 1.12.11+20110422.1+1e14eea~dfsg-6 | 1.12.11+20110422.1+1e14eea~dfsg-6 |
sofia-sipDebian: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-sipDebian: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-sipMageia:8 |
before 1.12.11-10.4.mga8 | 1.12.11-10.4.mga8 |
sofia-sipopenEuler:24.03-LTS-SP1 |
before 1.13.12-2.oe2403sp1 | 1.13.12-2.oe2403sp1 |
sofia-sipopenEuler:24.03-LTS-SP3 |
before 1.13.12-2.oe2403sp3 | 1.13.12-2.oe2403sp3 |
sofia-sipUbuntu: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-sipUbuntu: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-sipUbuntu: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-sipUbuntu: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
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE 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
github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c
lists.debian.org/debian-lts-announce/2023/06/msg00002.html
debian.org/security/2023/dsa-5431
lists.fedoraproject.org/archives/list/[email protected]/message/OY66DOQ3B7GULJTI66X5HNX5FU3P65CX
github.com/CVEProject/cvelistV5/tree/main/cves/2023/32xxx/CVE-2023-32307.json
nvd.nist.gov/vuln/detail/CVE-2023-32307
Show 11 moreShow less
security-tracker.debian.org/tracker/CVE-2023-32307
advisories.mageia.org/MGASA-2023-0209.html
bugs.mageia.org/show_bug.cgi?id=32020
debian.org/lts/security/2023/dla-3441
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2682
nvd.nist.gov/vuln/detail/CVE-2022-47516
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-2683
ubuntu.com/security/CVE-2023-32307
github.com/freeswitch/sofia-sip/pull/214
ubuntu.com/security/notices/USN-6448-1
cve.org/CVERecord?id=CVE-2023-32307