Description
Integer signedness error in format_jpeg.c in Asterisk 1.2.6 and earlier allows remote attackers to execute arbitrary code via a length value that passes a length check as a negative number, but triggers a buffer overflow when it is used as an unsigned length.
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 | asterisk | 1:1.2.7.1.dfsg-1 | — |
| Debian 3.1 | asterisk | 1:1.0.7.dfsg.1-2sarge2 | DSA-1048-1 |
| Debian 3.0 | asterisk | 0.1.11-3woody1 | DSA-1048-1 |
Advisories 1
- DSA-1048-1 asterisk - several vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- 19872 third-party-advisory
- ADV-2006-1478 vdb-entry
- http://www.cipher.org.uk/index.php?p=advisories/Asterisk_Codec_Integer_Overflow_07-04-2006.advisory
- DSA-1048 vendor-advisory
- 17561 vdb-entry
- http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.7-patch.gz
- 19800 third-party-advisory
- 19897 third-party-advisory
- SUSE-SR:2006:009 vendor-advisory