Description
Array index error in the dahdi/tor2.c driver in Zaptel (aka DAHDI) 1.4.11 and earlier allows local users in the dialout group to overwrite an integer value in kernel memory by writing to /dev/zap/ctl, related to an incorrect tor2 patch for CVE-2008-5396 that uses the wrong variable in a range check against the value of lc->sync.
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 4.0 | zaptel | 1:1.2.11.dfsg-1+etch1 | DSA-1699-1 |
Advisories 1
- DSA-1699-1 zaptel - privilege escalation Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://bugs.digium.com/view.php?id=13954#96700
- https://bugzilla.redhat.com/show_bug.cgi?id=475446#c4
- 32960 third-party-advisory
- zaptel-tor2-memory-overwrite(47666) vdb-entry
- http://svn.digium.com/view/dahdi?view=rev&revision=5590
- [oss-security] 20081219 CVE Request - Incomplete dahdi/zaptel tor2.c patch for CVE-2008-5396 mailing-list