Description
Multiple buffer overflows in the (1) read and (2) write handlers in the Omnikey CardMan 4040 driver in the Linux kernel before 2.6.21-rc3 allow local users to gain privileges.
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 | linux-2.6 | 2.6.18.dfsg.1-12etch1 | DSA-1286-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | kernel +10 | 2.6.18-8.1.1.el5 | RHSA-2007:0099 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Omnikey Cardman 4040 Driver - Local Buffer Overflow (PoC) EDB-3441 · dos · Mar 9, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- RHSA-2007:0099 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1286-1 linux-2.6 Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-1286 vendor-advisory
- RHSA-2007:0099 vendor-advisory
- 24901 third-party-advisory
- MDKSA-2007:078 vendor-advisory
- 33023 vdb-entry
- 20070309 Buffer Overflow in Linux Drivers for Omnikey CardMan 4040 (CVE-2007-0005) mailing-list
- 24777 third-party-advisory
- 24436 third-party-advisory
- ADV-2007-0872 vdb-entry
- http://kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.21-rc3
- USN-489-1 vendor-advisory
- 24518 third-party-advisory
- oval:org.mitre.oval:def:11238 vdb-entry signature
- 20070615 rPSA-2007-0124-1 kernel xen mailing-list
- FEDORA-2007-335 vendor-advisory
- https://issues.rpath.com/browse/RPL-1035
- 25078 third-party-advisory
- FEDORA-2007-336 vendor-advisory
- kernel-cardman4040drivers-bo(32880) vdb-entry
- 22870 vdb-entry
- USN-486-1 vendor-advisory
- 25691 third-party-advisory
- 26139 third-party-advisory
- 26133 third-party-advisory