Buffer Overflow Affecting rust-analyzer package, versions <0:1.97.1-2.hum1


Severity

Recommended
0.0
critical
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.49% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUSTANALYZER-23129977
  • published1 Dec 2026
  • disclosed13 Jul 2026

Introduced: 13 Jul 2026

CVE-2026-51536  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade RHEL:10 rust-analyzer to version 0:1.97.1-2.hum1 or higher.
This issue was patched in RHSA-2026:45341.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-analyzer package and not the rust-analyzer package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

In OpENer 2.3.0 (commit 76b95cf) when parsing incoming CIP (Common Industrial Protocol) network packets, the length parameter is inconsistently typed across the call stack. Specifically, an upstream length calculated as an int is passed to a downstream function that expects an EipInt16 (a 16-bit signed integer). If a maliciously crafted packet with specific length fields is processed, the length parameter can overflow or be truncated into a negative value. This negative length bypasses subsequent bounds checking (due to signed/unsigned comparison issues) and is ultimately used in memory operations, leading to a Stack Buffer Overflow when reading data in DecodePaddedEPath.

CVSS Base Scores

version 3.1