Mageia alert MGASA-2026-0231 (opensc)
| From: | Mageia Updates <updates-announce@ml.mageia.org> | |
| To: | updates-announce@ml.mageia.org | |
| Subject: | [updates-announce] MGASA-2026-0231: Updated opensc packages fix security vulnerabilities | |
| Date: | Wed, 24 Jun 2026 07:42:33 +0200 | |
| Message-ID: | <20260624054233.D7D559FB28@duvel.mageia.org> | |
| Archive-link: | Article |
MGASA-2026-0231 - Updated opensc packages fix security vulnerabilities Publication date: 24 Jun 2026 URL: https://advisories.mageia.org/MGASA-2026-0231.html Type: security Affected Mageia releases: 9 CVE: CVE-2026-10275, CVE-2026-40528 Description: These packages fix security vulnerabilities: CVE-2026-10275, A flaw has been found in OpenSC up to 0.26.1. This affects the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. This manipulation causes buffer overflow. The attack is possible to be carried out remotely. The complexity of an attack is rather high. It is indicated that the exploitability is difficult. The exploit has been published and may be used. Patch name: 814f745b3b6d100295f65f1935edd33d520d33ab. It is recommended to apply a patch to fix this issue. CVE-2026-40528, 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. References: - https://bugs.mageia.org/show_bug.cgi?id=35710 - https://lists.opensuse.org/archives/list/security-announc... - https://github.com/OpenSC/OpenSC/issues/3682 - https://www.cve.org/CVERecord?id=CVE-2026-10275 - https://www.cve.org/CVERecord?id=CVE-2026-40528 SRPMS: - 9/core/opensc-0.25.0-1.3.mga9
