Out-of-bounds Read in byte

byte Updated 02 Oct 2025

Summary

04/06/2019
MODERATE
Yes i
Moderate
Not published

GHSA-xm7f-x4wx-wmgv: Out-of-bounds Read in byte. Affects byte versions < 1.4.1. Fixed in 1.4.1. 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

The byte package is an npm package that provides functionality for working with bytes. It is used to allocate and manipulate byte buffers in JavaScript applications. The package is vulnerable to an out-of-bounds read issue in versions prior to 1.4.1. This vulnerability occurs when uninitialized buffers are allocated and data is read from them beyond their initialized length.

Vulnerability Detail

The out-of-bounds read vulnerability in the byte package can lead to information disclosure or crashes in applications that use the package. An attacker could potentially exploit this vulnerability to read sensitive data from uninitialized memory or cause the application to crash by accessing invalid memory locations. The vulnerability is classified as moderate severity and has been assigned the Common Weakness Enumeration (CWE) ID 125.

How To Fix

Latest published version: 2.0.0 as of 23 Oct 2026

npm install byte@2.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.4.1

This is the first release that contains the fix.

npm install byte@1.4.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The byte package is vulnerable to an out-of-bounds read issue that can lead to information disclosure or crashes in applications. It is recommended to update the package to version 1.4.1 or later to fix the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for byte →

Share this vulnerability

FAQ

The vulnerability can lead to information disclosure or crashes in applications that use the byte package. It could potentially allow an attacker to read sensitive data or cause the application to crash.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your package-lock.json file and the playground will analyze it for vulnerabilities.

No, there is no known workaround for this vulnerability. It is recommended to update the byte package to the fixed version.

The vulnerability is classified as moderate severity.

There are no known exploits for this vulnerability at the moment.

How To Fix

Latest published version: 2.0.0 as of 23 Oct 2026

npm install byte@2.0.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.4.1

This is the first release that contains the fix.

npm install byte@1.4.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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