Amazon Linux 2023 Security Advisory: ALAS2023-2026-1988
Advisory Released Date: 2026-07-20
Advisory Updated Date: 2026-07-20
Severity:
Important
Issue Overview:
OpenSC before 0.27.0, fixed in commit 0358817, contains a stack and heap buffer overrun vulnerability in the do_key_value() function in src/pkcs15init/profile.c that allows attackers to corrupt memory by supplying a crafted profile configuration file. During pkcs15-init invocation, a key value entry beginning with '=' followed by more than sizeof(keybuf) characters is copied into keybuf via memcpy without a length check, causing both stack and heap buffer overruns. (CVE-2026-40528)
Affected Packages:
opensc
Issue Correction:
Run dnf update opensc --releasever 2023.12.20260720 or dnf update --advisory ALAS2023-2026-1988 --releasever 2023.12.20260720 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation
New Packages:
aarch64:
opensc-debuginfo-0.24.0-1.amzn2023.0.6.aarch64
opensc-0.24.0-1.amzn2023.0.6.aarch64
opensc-debugsource-0.24.0-1.amzn2023.0.6.aarch64
src:
opensc-0.24.0-1.amzn2023.0.6.src
x86_64:
opensc-debuginfo-0.24.0-1.amzn2023.0.6.x86_64
opensc-debugsource-0.24.0-1.amzn2023.0.6.x86_64
opensc-0.24.0-1.amzn2023.0.6.x86_64