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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| freeswitch | sofia-sip | < 1.13.15 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sofia-sip | 1.12.11+20110422.1+1e14eea~dfsg-6 | — |
| Debian 13 | sofia-sip | 1.12.11+20110422.1+1e14eea~dfsg-6 | — |
| Debian 12 | sofia-sip | 1.12.11+20110422.1+1e14eea~dfsg-6 | — |
| Debian 11 | sofia-sip | 1.12.11+20110422.1-2.1+deb11u2 | DSA-5431-1 |
| Debian 10 | sofia-sip | 1.12.11+20110422.1-2.1+deb10u4 | DLA-3441-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | sofia-sip | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.22.04.2 | USN-6448-1 |
| Ubuntu 20.04 LTS | sofia-sip | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.20.04.2 | USN-6448-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | sofia-sip | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.18.04.1~esm1 | USN-6448-1 |
| Ubuntu Pro 16.04 LTS | sofia-sip | 1.12.11+20110422.1-2.1+deb10u3ubuntu0.16.04.1~esm2 | USN-6448-1 |
Advisories 3
- USN-6448-1 sofia-sip vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DSA-5431-1 sofia-sip - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3441-1 sofia-sip - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/freeswitch/sofia-sip/security/advisories/GHSA-rm4c-ccvf-ff9c
- https://lists.debian.org/debian-lts-announce/2023/06/msg00002.html
- https://www.debian.org/security/2023/dsa-5431
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OY66DOQ3B7GULJTI66X5HNX5FU3P65CX/