A double free when handling responses from a smartcard in sc_file_set_sec_attr in libopensc/sc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Opensc | Opensc_project | * | 0.18.0 (including) |
Red Hat Enterprise Linux 7 | RedHat | opensc-0:0.19.0-3.el7 | * |
Opensc | Ubuntu | bionic | * |
Opensc | Ubuntu | cosmic | * |
Opensc | Ubuntu | esm-apps/bionic | * |
Opensc | Ubuntu | esm-apps/xenial | * |
Opensc | Ubuntu | trusty | * |
Opensc | Ubuntu | xenial | * |