NIXPKGS-2026-2627
GitHub issue
published 13 hours ago
LightGBM through 4.7.0 Out-of-Bounds Write via Crafted Model
Permalink
CVE-2026-92786
8.5 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): Passive (P)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Passive (P)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
LightGBM through 4.7.0 Out-of-Bounds Write via Crafted Model
LightGBM through 4.7.0 fails to validate child and split array values when parsing text models, allowing attackers to write out-of-bounds memory during SHAP prediction. Attackers can craft malicious model files with invalid node references that trigger out-of-bounds writes at attacker-chosen offsets in the leaf_depth_ buffer during feature contribution computation.
References
-
GitHub Issue #7357 issue-tracking
-
RecomputeLeafDepths writes at the bit-inverted child value with no bounds check technical-description
-
child and split arrays are parsed with only a length check technical-description
-
VulnCheck Advisory: LightGBM through 4.7.0 Out-of-Bounds Write via Crafted Model third-party-advisory
Affected products
LightGBM
- =<4.7.0
Matching in nixpkgs
pkgs.lightgbm
Gradient boosting framework that uses tree based learning algorithms
pkgs.python313Packages.lightgbm
Fast, distributed, high performance gradient boosting (GBDT, GBRT, GBM or MART) framework
Package maintainers
-
@nviets Nathan Viets <nathan.g.viets@gmail.com>
-
@teh Tom Hunger <tehunger@gmail.com>
-
@flokli Florian Klink <flokli@flokli.de>