CVE-2023-32307 json
heap-over-flow and integer-overflow in sofia-sip
published 2023-05-26 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-36559
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. Referring to [GHSA-8599-x7rq-fr54](https://github.com/freeswitch/sofia-sip/security/advisories/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](https://github.com/freeswitch/sofia-sip/security/advisories/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.
Patch / fix
- signalwire sofia-sip 1.13.15
- sofia-sip Debian 14, Debian 13, Debian 12 1.12.11+20110422.1+1e14eea~dfsg-6
debian advisories DEBIAN-CVE-2023-32307
- sofia-sip Ubuntu 20.04 LTS 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2
- sofia-sip Ubuntu 22.04 LTS 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2
- sofia-sip Ubuntu Pro 16.04 LTS 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2
- sofia-sip Ubuntu Pro 18.04 LTS 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1
ubuntu advisories UBUNTU-CVE-2023-32307
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
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-2023-32307 updated
sofia-sip: heap grooming enables RCE
-
Red Hat All currently supported Red Hat productsnot 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
- 21 mo ago
Exploit prediction
1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c 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 |
Affected products
- freeswitch sofia-sip
Classification
References
-
github.com
/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c
exploit, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2023/06/msg00002.html
mailing-list, third-party-advisory
- debian.org /security/2023/dsa-5431
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/OY66DOQ3B7GULJTI66X5HNX5FU3P65CX/
Sources
- CVE List CVE-2023-32307
- NVD CVE-2023-32307
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.