pcsc-lite - Use-After-Free and Double-Free Vulnerability

pcsc-lite Updated 02 Oct 2025

Summary

06/01/2017
N/A
Yes i
Unrated
Not published

DLA-778-1: pcsc-lite - security update. Affects pcsc-lite versions < 1.8.4-1+deb7u2. Fixed in 1.8.4-1+deb7u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

pcsc-lite is a library that provides access to smart cards using the Windows SCard interface (PC/SC). It allows applications to communicate with smart cards and perform various operations such as reading, writing, and authentication. The library is commonly used in systems that require smart card functionality, such as authentication systems and secure access control. However, a vulnerability has been discovered in pcsc-lite that could potentially be exploited by an attacker.

Vulnerability Detail

The vulnerability in pcsc-lite is a use-after-free and double-free vulnerability. This type of vulnerability occurs when a program continues to use a pointer after it has been freed or when it frees a pointer multiple times. In the case of pcsc-lite, this vulnerability could allow an attacker to execute arbitrary code or cause a denial of service by exploiting the memory corruption caused by the use-after-free or double-free condition. The impact of this vulnerability can vary depending on the context in which pcsc-lite is used, but it has the potential to compromise the security and integrity of systems that rely on smart card functionality.

How To Fix

Minimum fixed version

1.8.4-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade pcsc-lite

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The use-after-free and double-free vulnerability in pcsc-lite can potentially be exploited by an attacker to execute arbitrary code or cause a denial of service. It is crucial to upgrade the pcsc-lite package to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pcsc-lite →

Share this vulnerability

FAQ

pcsc-lite is a library that provides access to smart cards using the Windows SCard interface (PC/SC). It allows applications to communicate with smart cards and perform various operations such as reading, writing, and authentication.

A use-after-free vulnerability occurs when a program continues to use a pointer after it has been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.

A double-free vulnerability occurs when a program frees a pointer multiple times. This can also lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.

The impact of this vulnerability can vary depending on the context in which pcsc-lite is used. However, it has the potential to compromise the security and integrity of systems that rely on smart card functionality.

To fix this vulnerability, it is recommended to upgrade the pcsc-lite package to version 1.8.4-1+deb7u2 or later. Detailed instructions on how to upgrade the package can be found in the Debian Security Advisory DLA-778-1.

Related vulnerabilities

Recent vulnerabilities recorded for pcsc-lite.

How To Fix

Minimum fixed version

1.8.4-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade pcsc-lite

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback