Use-of-uninitialized-value in grok: N_SSE4::vscheduler<DecompressDcShiftIrrev>

grok Updated 02 Oct 2025

Summary

02/04/2022
MEDIUM
No i
Medium
Not published

OSV-2022-295: Use-of-uninitialized-value in unsigned long grk::N_SSE4::vscheduler. Affects grok versions >= 746b605d5502e304a5aaafe61bf7807ee303f3ca. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Grok is an open-source image compression library that provides functionality for encoding and decoding images. It is widely used in various applications to optimize image storage and transmission. The vulnerability affects the grok package and specifically the N_SSE4::vscheduler<DecompressDcShiftIrrev> function.

Vulnerability Detail

The vulnerability, identified as OSV-2022-295, is categorized as a Use-of-uninitialized-value issue. It was reported through the OSS-Fuzz project and can lead to crashes. The vulnerable code is present in the grk::N_SSE4::vschedulergrk::N_SSE4::DecompressDcShiftIrrev function. The uninitialized value can cause unexpected behavior and potentially be exploited by attackers. The issue was introduced in commit 746b605d5502e304a5aaafe61bf7807ee303f3ca of the grok repository.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid triggering the vulnerable code path by refraining from using the specific functionality affected by the issue. However, this may limit the full capabilities of the grok library. It is strongly advised to apply the official fix by updating to the latest patched version.

Conclusion

The use-of-uninitialized-value vulnerability in grok's N_SSE4::vscheduler<DecompressDcShiftIrrev> function can lead to crashes and potential exploitation. Users are advised to update their grok installation to the latest patched version to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for grok →

Share this vulnerability

FAQ

Grok is an open-source image compression library used for encoding and decoding images in various applications.

The vulnerability can lead to crashes and potentially be exploited by attackers.

The vulnerability was reported through the OSS-Fuzz project, which performs continuous fuzz testing on open-source software.

Yes, the maintainers of grok have released a fix in a subsequent version. Users should update to the latest patched version.

A temporary workaround is to avoid using the specific functionality affected by the vulnerability. However, it is recommended to apply the official fix by updating to the latest patched version.

Related vulnerabilities

Recent vulnerabilities recorded for grok.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback