{"schemaVersion":3,"id":"CVE-2026-10275","aliases":["UBUNTU-CVE-2026-10275","DEBIAN-CVE-2026-10275"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-06-01T16:45:14.476Z","modified":"2026-06-01T19:31:20.646Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.1,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"CVE.org","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"CVE.org","score":5.1,"severity":"medium","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.1,"impact":5.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":1.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.1,"severity":"medium","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00296,"percentile":0.20916,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00296},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00296,"percentile":0.20916}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00296,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00296,"percentile":0.20916}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_07D9AEC384F8280D","name":"Exploit Reference (pan.baidu.com)","source":"reference","url":"https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","description":"The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/120.html"}],"affected":[{"vendor":"debian","product":"opensc","name":"opensc","label":"opensc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/opensc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.27.1-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.27.1-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"opensc","name":"opensc","label":"opensc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/opensc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://vuldb.com/vuln/367568","label":"vuldb.com/vuln/367568","hostname":"vuldb.com","tags":["VDB Entry","Technical Description","REPORT"]},{"url":"https://vuldb.com/vuln/367568/cti","label":"vuldb.com/vuln/367568/cti","hostname":"vuldb.com","tags":["Signature","Permissions Required","REPORT"]},{"url":"https://vuldb.com/cve/CVE-2026-10275","label":"vuldb.com/cve/CVE-2026-10275","hostname":"vuldb.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://vuldb.com/submit/825403","label":"vuldb.com/submit/825403","hostname":"vuldb.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://github.com/OpenSC/OpenSC/issues/3682","label":"github.com/OpenSC/OpenSC/issues/3682","hostname":"github.com","tags":["Issue Tracking","REPORT"]},{"url":"https://github.com/OpenSC/OpenSC/pull/3684","label":"github.com/OpenSC/OpenSC/pull/3684","hostname":"github.com","tags":["Issue Tracking","Patch","REPORT"]},{"url":"https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg","label":"pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg","hostname":"pan.baidu.com","tags":["Exploit","REPORT"]},{"url":"https://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab","label":"github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://github.com/OpenSC/OpenSC/","label":"github.com/OpenSC/OpenSC/","hostname":"github.com","tags":["Product","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-10275","label":"ubuntu.com/security/CVE-2026-10275","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-10275","label":"www.cve.org/CVERecord?id=CVE-2026-10275","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-10275","label":"security-tracker.debian.org/tracker/CVE-2026-10275","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10275","label":"nvd.nist.gov/vuln/detail/CVE-2026-10275","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0231","OPENSUSE-SU-2026:11022-1","OPENSUSE-SU-2026:21873-1","SUSE-SU-2026:22103-1","SUSE-SU-2026:22139-1","SUSE-SU-2026:2657-1","SUSE-SU-2026:2678-1","SUSE-SU-2026:2697-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11022-1","OPENSUSE-SU-2026:21873-1","SUSE-SU-2026:22103-1","SUSE-SU-2026:22139-1","SUSE-SU-2026:2657-1","SUSE-SU-2026:2678-1","SUSE-SU-2026:2697-1"]},"timeline":[{"kind":"published","date":"2026-06-01T16:45:14.476Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-01T19:31:20.646Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:20:20.667Z","stale":false,"partial":false}}