CVE-2026-134852 Details
Description
A flaw has been found in shaozilee bmp-js up to 0.1.0. This vulnerability affects the function BmpDecoder.parseRGBA of the file lib/decoder.js. This manipulation causes uncontrolled memory allocation. It is possible to initiate the attack remotely. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.
A denial-of-service vulnerability has been identified in bmp-js versions through 0.1.0. The issue arises in the BmpDecoder.parseRGBA function within lib/decoder.js, where the library allocates memory based on unvalidated dimensions from the BMP header. This flaw allows for excessive memory consumption, leading to crashes or out-of-bounds errors when processing specially crafted BMP files. The vulnerability can be exploited remotely, and the project maintainers have been notified but have not yet responded.
It is recommended to validate BMP dimensions before memory allocation, rejecting non-positive or implausibly large values. Implementing a configurable megapixel cap and cross-checking declared pixel counts against available input bytes before allocation can help mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 23, 2026CISA-ADP
Assessed Nov 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/shaozilee/bmp-js/ | [email protected] | ProductVendor |
| https://github.com/shaozilee/bmp-js/issues/42 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-134852 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1054620 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/442160 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/442160/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
| CWE-789 | Memory Allocation with Excessive Size Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| shaozilee bmp-js | <= 0.1.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 23, 2026 | CVE Modified | CISA-ADP |
| Nov 23, 2026 | New CVE Received | [email protected] |
Volerion