Stack-based buffer overflow in pjsip - CVE-2026-25994
Published: April 14, 2026 / Updated: April 17, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service or execute arbitrary code.
The vulnerability exists due to stack-based buffer overflow in PJNATH ICE Session when processing credentials with excessively long usernames. A remote attacker can send crafted credentials with an excessively long username to cause a denial of service or execute arbitrary code.
This issue affects applications that use ICE.
Affected software
Ubuntu
Asterisk Open Source
Certified Asterisk
pjproject (Ubuntu package)
How to mitigate CVE-2026-25994
Asterisk Open Source - addressed in versions 20.19.0, 21.12.2, 22.9.0, 23.3.0
Certified Asterisk - addressed in versions 20.7-cert10, 22.8-cert2
pjproject (Ubuntu package) - addressed in versions 2.1.0.0.ast20130823-1+deb8u1ubuntu0.1~esm1, 2.7.2~dfsg-1ubuntu0.1~esm1