CVE-2026-40510
mediumpriority · track · 27EPSS 0.003 · 22 %ileDEEUUSEPSS · scored 2026-10-26
OpenSC before 0.27.0-rc1, fixed in commit 3f24f0b, contains a stack buffer overflow vulnerability in piv_process_history() in src/libopensc/card-piv.c that allows physically present attackers to trigger memory corruption by presenting a crafted PIV smart card or USB device returning a URL field longer than 118 bytes in the Key History Object ASN.1 response.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedads_tec_psirt
Update to firmware IRF1000 2.3.0, IRF3000 2.3.0 or later.
- Fixedweidmueller_psirt
Update to firmware IE-SR-4TX V2.3.0, IE-SR-4GT V2.3.0 or later.
- Mitigationads_tec_psirt
Exploitation requires physical access. Restrict physical access to the device and to its USB and smart-card interfaces, and do not connect untrusted PIV smart cards or CCID/USB devices.
- Mitigationweidmueller_psirt
Exploitation requires physical access. Restrict physical access to the device and to its USB and smart-card interfaces, and do not connect untrusted PIV smart cards or CCID/USB devices.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 0.1–6.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (15)
Products and version ranges known to be affected.
- Firmware 2.3.0 installed on DVG-IRF1401all versionsfixedads_tec_psirtDEcpe:2.3:o:ads-tec:irf1000_firmware:2.3.0:*:*:*:*:*:*:*
- Firmware 2.3.0 installed on DVG-IRF3401all versionsfixedads_tec_psirtDEcpe:2.3:o:ads-tec:irf3000_firmware:2.3.0:*:*:*:*:*:*:*
- Firmware >=1.0.0, <2.3.0 installed on DVG-IRF1401all versionsads_tec_psirtDEcpe:2.3:o:ads-tec:irf1000_firmware:*:*:*:*:*:*:*:*
- Firmware >=1.0.0, <2.3.0 installed on DVG-IRF3401all versionsads_tec_psirtDEcpe:2.3:o:ads-tec:irf3000_firmware:*:*:*:*:*:*:*:*
- IE-SR-4GT Firmware 1.0.0<V2.3.0 installed on IE-SR-4GTall versionsweidmueller_psirtDEcpe:2.3:o:weidmueller:firmware_ie-sr-4gt_series:*:*:*:*:*:*:*:*
- IE-SR-4GT Firmware V2.3.0 installed on IE-SR-4GTall versionsfixedweidmueller_psirtDEcpe:2.3:o:weidmueller:firmware_ie-sr-4gt_series:2.3.0:*:*:*:*:*:*:*
- IE-SR-4TX Firmware 1.0.0<V2.3.0 installed on IE-SR-4TXall versionsweidmueller_psirtDEcpe:2.3:o:weidmueller:firmware_ie-sr-4tx_series:*:*:*:*:*:*:*:*
- IE-SR-4TX Firmware V2.3.0 installed on IE-SR-4TXall versionsfixedweidmueller_psirtDEcpe:2.3:o:weidmueller:firmware_ie-sr-4tx_series:2.3.0:*:*:*:*:*:*:*
advisories (3)
Vendor and ecosystem advisories describing this.
- VDE-2026-076ads-tec Industrial IT: Multiple Vulnerabilities in ADS-TEC IRF Products2026-07-28csaf · ads_tec_psirtDE
The ADS-TEC IRF1000 and IRF3000 products are affected by multiple vulnerabilities in firmware releases prior to 2.3.0: authorization, robustness and redirect flaws in the proprietary configuration interface and web UI, and multiple vulnerabilities in the bundled third-party components dnsmasq, OpenSC and OpenSSL. All are fixed in firmware 2.3.0.
- VDE-2026-081Weidmueller: Security routers IE-SR-4TX and IE-SR-4GT are affected by multiple vulnerabilities2026-07-28csaf · weidmueller_psirtDE
Weidmueller security routers IE-SR-4TX and IE-SR-4GT are affected by multiple vulnerabilities (CVE-2026-14167, CVE-2026-14168, CVE-2026-14169, CVE-2026-14171, CVE-2026-2291, CVE-2026-4893, CVE-2026-5172, CVE-2026-40510, CVE-2025-68160, CVE-2025-69418, CVE-2025-69419, CVE-2025-69420, CVE-2025-69421, CVE-2026-22795, CVE-2026-22796) in firmware releases prior to V2.3.0 authorization, robustness and redirect flaws in the proprietary configuration interface and web UI, and multiple vulnerabilities in the bundled third-party components dnsmasq, OpenSC and OpenSSL. All are fixed in firmware V2.3.0.
- WID-SEC-W-2026-1755OpenSC: Mehrere Schwachstellen ermöglichen nicht spezifizierten AngriffDeutsch2026-05-31csaf · cert_bundDE
Ein Angreifer mit physischem Zugriff kann mehrere Schwachstellen in OpenSC ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/OpenSC/OpenSCPatchcnnvd
- https://github.com/OpenSC/OpenSC/commit/3f24f0b48a481a8cf2e46059d8238a283ddc1c13cnnvd
- https://github.com/OpenSC/OpenSC/pull/3558cnnvd
- https://www.vulncheck.com/advisories/opensc-stack-buffer-overflow-via-piv-process-history-in-card-piv-ccnnvd
- https://github.com/OpenSC/OpenSC/commit/3f24f0b48a481a8cf2e46059d8238a283ddc1c13enisa_euvd
- https://github.com/OpenSC/OpenSC/pull/3558enisa_euvd
- https://www.vulncheck.com/advisories/opensc-stack-buffer-overflow-via-piv-process-history-in-card-piv-cenisa_euvd
- https://github.com/OpenSC/OpenSC/commit/3f24f0b48a481a8cf2e46059d8238a283ddc1c13Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan