3.9 LOW
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Physical (P)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): Low (L)
- Modified Attack Vector (MAV): Physical (P)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): Low (L)
by @mweinelt Activity log
- Created suggestion
-
@mweinelt
ignored
11 packages
- openscad
- openscap
- openscreen
- openscad-lsp
- openscenegraph
- openscad-unstable
- kakounePlugins.openscad-kak
- vscode-extensions.antyos.openscad
- tree-sitter-grammars.tree-sitter-openscad
- python313Packages.tree-sitter-grammars.tree-sitter-openscad
- python314Packages.tree-sitter-grammars.tree-sitter-openscad
- @mweinelt accepted
- @mweinelt published on GitHub
OpenSC: `sc_compacttlv_find_tag` can return out-of-bounds pointers
OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given tag. In compact-TLV, a single byte encodes the tag (high nibble) and value length (low nibble). With a 1-byte buffer {0x0A}, the encoded element claims tag=0 and length=10 but no value bytes follow. Calling sc_compacttlv_find_tag with search tag 0x00 returns a pointer equal to buf+1 and outlen=10 without verifying that the claimed value length fits within the remaining buffer. In cases where the sc_compacttlv_find_tag is provided untrusted data (such as being read from cards/files), attackers may be able to influence it to return out-of-bounds pointers leading to downstream memory corruption when subsequent code tries to dereference the pointer. This issue has been patched in version 0.27.0.
References
-
https://github.com/OpenSC/OpenSC/security/advisories/GHSA-72x5-fwjx-2459 x_refsource_CONFIRM
-
https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66038 x_refsource_MISC
Affected products
- ==< 0.27.0
Matching in nixpkgs
Ignored packages (11)
pkgs.openscad
3D parametric model compiler
pkgs.openscap
NIST Certified SCAP 1.2 toolkit
pkgs.openscreen
Free, open-source alternative to Screen Studio (sort of)
pkgs.openscad-lsp
LSP (Language Server Protocol) server for OpenSCAD
pkgs.openscenegraph
3D graphics toolkit
pkgs.openscad-unstable
3D parametric model compiler (unstable)
-
nixos-unstable 2021.01-unstable-2026-02-25
- nixpkgs-unstable 2021.01-unstable-2026-02-25
- nixos-unstable-small 2021.01-unstable-2026-02-25
-
nixos-25.11 2021.01-unstable-2025-10-27
- nixos-25.11-small 2021.01-unstable-2025-10-27
- nixpkgs-25.11-darwin 2021.01-unstable-2025-10-27
pkgs.kakounePlugins.openscad-kak
None
-
nixos-unstable 2020-12-10
- nixpkgs-unstable 2020-12-10
- nixos-unstable-small 2020-12-10
-
nixos-25.11 2020-12-10
- nixos-25.11-small 2020-12-10
- nixpkgs-25.11-darwin 2020-12-10
pkgs.vscode-extensions.antyos.openscad
OpenSCAD highlighting, snippets, and more for VSCode
pkgs.tree-sitter-grammars.tree-sitter-openscad
Tree-sitter grammar for openscad
-
nixos-unstable 0.7.0-unstable-2025-11-25
- nixpkgs-unstable 0.7.0-unstable-2025-11-25
- nixos-unstable-small 0.7.0-unstable-2025-11-25
pkgs.python313Packages.tree-sitter-grammars.tree-sitter-openscad
Python bindings for tree-sitter-openscad
-
nixos-unstable 0.7.0+unstable20251125
- nixpkgs-unstable 0.7.0+unstable20251125
- nixos-unstable-small 0.7.0+unstable20251125
pkgs.python314Packages.tree-sitter-grammars.tree-sitter-openscad
Python bindings for tree-sitter-openscad
-
nixos-unstable 0.7.0+unstable20251125
- nixpkgs-unstable 0.7.0+unstable20251125
- nixos-unstable-small 0.7.0+unstable20251125
Package maintainers
-
@michaeladler Michael Adler <therisen06@gmail.com>