{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-103531 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-103531 is a medium-severity memory corruption vulnerability in OpenSC, published on 1 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-103531 and fix it if it is affected.\n\nWhat it is: CVE-2026-103531 is a medium-severity memory corruption vulnerability in OpenSC, published on 1 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-103531 in the wild and no public exploit code.\n\nAffected product: OpenSC. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-103531/ (Markdown: https://insights.sbomify.com/CVE-2026-103531/index.md)","id":"CVE-2026-103531","markdown":"https://insights.sbomify.com/CVE-2026-103531/index.md","name":"CVE-2026-103531","record":{"aliases":["AZL-105342","CLSA-2026-1791470029","DEBIAN-CVE-2026-103531","GHSA-m2qg-x6vj-xmrg","UBUNTU-CVE-2026-103531"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSC smart card library","requires_auth":"low_privilege","summary":"A stack-based buffer overflow in OpenSC allows remote attackers to execute arbitrary code or cause denial of service via manipulated arguments.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A flaw has been found in OpenSC up to 0.27.1. The impacted element is the function setcos_construct_fci_44 of the file src/libopensc/card-setcos.c. Executing a manipulation of the argument type_attr can lead to stack-based buffer overflow. The attack can be launched remotely. This patch is called ad730304052937c32b4eb489a06835ac6123632c. It is best practice to apply a patch to resolve this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow","id":"CVE-2026-103531","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":7,"next":{"headline":"immich-app Immich Shared Link Preview access.ts checkSharedLinkAccess improper authorization","id":"CVE-2026-103532"},"packages":[],"prev":{"headline":"decolua 9Router Search Endpoint ssrfGuard.js fetch server-side request forgery","id":"CVE-2026-103530"},"products":["OpenSC"],"published":"2026-10-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-05","vendors":["n/a"]},"summary":"A stack-based buffer overflow in OpenSC allows remote attackers to execute arbitrary code or cause denial of service via manipulated arguments.","url":"https://insights.sbomify.com/CVE-2026-103531/"}