GHSA-jgvr-6x5w-hx5w: Rust/kcl-lib vulnerability

Published Aug 20, 2026
·
Updated

Impact Feeding a KCL program that wraps an expression in deep, unnecessary parentheses triggers the parser’s recursive expression -> unnecessarilybracketed -> expression path. With enough nesting, the call stack grows until it exceeds the process stack limit, causing a stack overflow.

Affected Software

2 affected componentsFixes available
rust/kcl-lib<0.2.129
0.3.129
pip/zoo-kcl<0.3.129
0.3.129

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/kcl-lib to a version that resolves this vulnerability.

    Fixed in 0.3.129
  2. Upgrade

    Upgrade pip/zoo-kcl to a version that resolves this vulnerability.

    Fixed in 0.3.129

Event History

Aug 20, 2026
Advisory Published
via GitHub·06:34 PM
Data Sourced
via GitHub·06:34 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What input is required to trigger the failure?

An attacker or user must be able to feed a KCL program containing an expression wrapped in a sufficiently deep number of unnecessary parentheses. The nesting drives recursive parser calls until the process stack limit is exceeded.

2

What is the practical impact of successful exploitation?

Successful exploitation causes a stack overflow in the parsing process. This can terminate or otherwise disrupt the affected process handling the crafted KCL input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203