Description
An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a length longer than 256 bytes, this triggers a buffer overflow. This may be the case for RSA keys with 4096 bits depending on the signature scheme.
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 | pam-p11 | 0.3.1-1 | — |
| Debian 13 | pam-p11 | 0.3.1-1 | — |
| Debian 12 | pam-p11 | 0.3.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | pam-p11 | No fix yet | — |
| Ubuntu 16.04 LTS | pam-p11 | No fix yet | — |
| Ubuntu 14.04 LTS | pam-p11 | No fix yet | — |