Out-of-bounds Read in concat-with-sourcemaps

concat-with-sourcemaps Updated 02 Oct 2025

Summary

29/05/2019
MODERATE
Yes i
Moderate
Not published

GHSA-2xv3-h762-ccxv: Out-of-bounds Read in concat-with-sourcemaps. Affects concat-with-sourcemaps versions >= 1.0.0, < 1.0.6. Fixed in 1.0.6. 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 concat-with-sourcemaps package is an npm package used for concatenating files and generating source maps. It allows developers to combine multiple files into a single file while preserving the original source map information. This package is commonly used in JavaScript projects to optimize and bundle code.

Vulnerability Detail

Versions of concat-with-sourcemaps before 1.0.6 have a vulnerability that leads to out-of-bounds read. When a number is passed as a separator, uninitialized Buffers are allocated. This can result in reading data from memory locations outside the intended boundaries, potentially leading to information disclosure or crashes.

How To Fix

Minimum fixed version

1.0.6

This is the first release that contains the fix.

npm install concat-with-sourcemaps@1.0.6

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

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The concat-with-sourcemaps package before version 1.0.6 has a vulnerability that can lead to out-of-bounds read. It is recommended to update to version 1.0.6 or later to fix this issue. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for concat-with-sourcemaps →

Share this vulnerability

FAQ

The concat-with-sourcemaps package is used for concatenating files and generating source maps in JavaScript projects.

This vulnerability can potentially lead to information disclosure or crashes due to out-of-bounds read.

To fix this vulnerability, update the concat-with-sourcemaps package to version 1.0.6 or later.

No, only versions before 1.0.6 are affected. Version 1.0.6 and later include the necessary fixes.

How To Fix

Minimum fixed version

1.0.6

This is the first release that contains the fix.

npm install concat-with-sourcemaps@1.0.6

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