CVE-2026-85062 Details
Description
Colord is a tiny yet powerful tool for high-performance color manipulations and conversions. Prior to 2.9.4, synchronous CSS color string matchers in src/colorModels/rgbString.ts, src/colorModels/hslString.ts, src/colorModels/hwbString.ts, src/colorModels/lchString.ts, and src/colorModels/cmykString.ts use the ambiguous numeric regular expression ([+-]?\d*.?\d+), allowing the same digits to be divided between overlapping quantifiers in quadratically many ways when malformed input is rejected. An attacker who can supply an unbounded color string to colord(), getFormat(), isEqual(), mix(), or contrast(), including through a request body, JSON field, or uploaded stylesheet, can block the processing thread with a multi-kilobyte payload. The affected matchers are parseRgbaString, parseHslaString, parseHwbaString, parseLchaString, and parseCmykaString. This issue is fixed in version 2.9.4.
A denial-of-service vulnerability has been identified in Colord versions prior to 2.9.4. The issue arises in the synchronous CSS color string matchers of the RGB, HSL, HWB, LCH, and CMYK color models. These matchers use an ambiguous numeric regular expression that allows the same digits to be split between overlapping quantifiers in a way that increases processing time quadratically. This flaw can be exploited by an attacker who sends a long, malformed color string to certain Colord functions, such as colord(), getFormat(), isEqual(), mix(), or contrast. The vulnerability can be triggered through a request body, JSON field, or uploaded stylesheet, leading to significant delays in processing by blocking the thread with a multi-kilobyte payload.
Users can update to Colord version 2.9.4 or later, where this vulnerability has been fixed. The patch involves changing the regular expression to eliminate the ambiguity, allowing for proper validation of color strings without the risk of creating a denial-of-service condition.
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 Sep 3, 2026CISA-ADP
Assessed Sep 9, 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/omgovich/colord/commit/87018089515ed66a85b1a95c3c7c3fd69a25bac2 | [email protected] | Source CodeVendor |
| https://github.com/omgovich/colord/pull/141 | [email protected] | Source CodeVendor |
| https://github.com/omgovich/colord/security/advisories/GHSA-2wm5-q62r-hmrv | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| colord | < 2.9.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 9, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2026 | New CVE Received | [email protected] |
Volerion