PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet
Vulnerability DatabaseGHSA-57g2-8cj3-3v8g

GHSA-57g2-8cj3-3v8g: 
Rust vulnerability analysis and mitigation

Summary

Applications that decode untrusted GRIB2 data using complex packing, with or without spatial differencing, may panic when the data length calculated from the packing metadata exceeds the actual length of Section 7.

Affected usage and impact

The affected paths decode data representation templates 5.2 and 5.3 through Grib2SubmessageDecoder::dispatch(). Attacker-controlled messages can pass initial file parsing and decoder construction before triggering a bounds panic during decoder dispatch. Reading metadata alone does not trigger these decoding paths. A panic does not necessarily cause denial of service. Depending on the application's panic handling and configured panic strategy (unwind or abort), a panic may interrupt a processing thread or terminate the process. This can become a denial-of-service vulnerability when an attacker can supply input to the affected operation and the resulting failure disrupts service for legitimate users. A failure confined to the attacker's request does not by itself establish service-wide denial of service; the impact depends on how the application isolates failures and maintains processing capacity. No memory corruption, confidentiality impact, or integrity impact has been established. The confirmed failure is a Rust bounds-check panic.

Cause

The decoder derives byte ranges from group counts, bit widths, and spatial-differencing parameters without checking every required range against the available Section 7 payload before slicing it.

Mitigation and remediation

Upgrade the grib crate to version 0.20.2, which fixes this issue.

Version and publication status

The final version of GHSA-57g2-8cj3-3v8g. The fix is confirmed in grib version 0.20.2. Affected versions of grib: >= 0.2.0, < 0.20.2.


Source: NVD

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-57g2-8cj3-3v8gHIGH7.5
  • Rust logoRust
  • grib
NoYesOct 22, 2026
GHSA-xw69-xv93-5fjvMEDIUM6.5
  • Rust logoRust
  • gix-fs
NoYesOct 22, 2026
GHSA-hqmx-mx83-h2xcMEDIUMN/A
  • Rust logoRust
  • kule
NoYesOct 22, 2026
GHSA-57xf-95mj-j6j6MEDIUMN/A
  • Rust logoRust
  • kule
NoYesOct 22, 2026
GHSA-4v43-5ff7-45w4MEDIUMN/A
  • Rust logoRust
  • kule
NoYesOct 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management