Description
Signedness error in ccid_serial.c in libccid in the USB Chip/Smart Card Interface Devices (CCID) driver, as used in pcscd in PCSC-Lite 1.5.3 and possibly other products, allows physically proximate attackers to execute arbitrary code via a smart card with a crafted serial number that causes a negative value to be used in a memcpy operation, which triggers a buffer overflow. NOTE: some sources refer to this issue as an integer overflow.
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 | ccid | 1.3.11-2 | — |
| Debian 13 | ccid | 1.3.11-2 | — |
| Debian 12 | ccid | 1.3.11-2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | ccid | 1.3.9-6.el6 | RHSA-2013:0523 |
| RHEL 5 | ccid | 1.3.8-2.el5 | RHSA-2013:1323 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | pcsc-ccid | 1.4.25-1.1 | openSUSE-SU-2024:10101-1 |
Advisories 3
- RHSA-2013:1323 Red Hat Security Advisory: ccid security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2013:0523 Red Hat Security Advisory: ccid security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- openSUSE-SU-2024:10101-1 pcsc-ccid-1.4.25-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- [oss-security] 20101222 CVE Request -- 1, ccid -- int.overflow leading to array index error 2, pcsc-lite stack-based buffer overflow in ATR decoder [was: CVE request: opensc buffer overflow ] mailing-list
- RHSA-2013:1323 vendor-advisory
- 45806 vdb-entry
- FEDORA-2011-0143 vendor-advisory
- ADV-2011-0100 vdb-entry
- FEDORA-2011-0162 vendor-advisory
- ADV-2011-0179 vdb-entry
- http://labs.mwrinfosecurity.com/files/Advisories/mwri_pcsc-libccid-buffer-overflow_2010-12-13.pdf
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- MDVSA-2011:014 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=664986
- [oss-security] 20110103 Re: CVE Request -- 1, ccid -- int.overflow leading to array index error 2, pcsc-lite stack-based buffer overflow in ATR decoder [was: CVE request: opensc buffer overflow ] mailing-list
- pcsclite-ccid-code-execution(64961) vdb-entry