CVE-2023-32307: heap-over-flow and integer-overflow in sofia-sip
Vulnerability summary
CVE-2023-32307 is a high (CVSS 7.5) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 1.06% chance of exploitation in the next 30 days, higher than 64.7% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 10-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 26-05-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.06%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.06% on 11-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the heap.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- sofia-sip< 1.12.11+20110422.1-2.1+deb11u2 | < 1.12.11+20110422.1-2.1+deb10u4 | < 1.12.11+20110422.1+1e14eea~dfsg-6
- debian_linuxEOL10.0
Freeswitch1 product
- sofia-sip< 1.13.15
Mageia1 product
- sofia-sip< 1.12.11-10.4.mga8
Signalwire1 product
- sofia-sip< 1.13.15
Ubuntu1 product
- sofia-sip< 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2 | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1 | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2 | < 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2
5 vendors · 6 products
References
12 links- github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9cX Refsource CONFIRMREPORTVendor Advisory