CVE-2026-85062: CWE-1333: Inefficient Regular Expression Complexity in omgovich colord
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.
CVSS v4.0
Score 6.9medium
Affected software
omgovich
colord
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the use of an ambiguous numeric regular expression ([+-]?\d*.?\d+) in several synchronous CSS color string matchers within colord versions before 2.9.4. This regex allows overlapping quantifiers to match the same digits in quadratically many ways when rejecting malformed input, leading to excessive processing time. An attacker able to supply an unbounded color string to functions such as colord(), getFormat(), isEqual(), mix(), or contrast() can exploit this to block the processing thread with a large payload. The affected matchers include parseRgbaString, parseHslaString, parseHwbaString, parseLchaString, and parseCmykaString. The issue is resolved in colord version 2.9.4.
Potential Impact
An attacker can cause a denial of service by supplying a specially crafted color string that triggers excessive regular expression backtracking, blocking the processing thread. This can degrade application performance or cause unresponsiveness. There is no indication of privilege escalation, data leakage, or code execution. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and limited impact to availability.
Mitigation Recommendations
Upgrade to colord version 2.9.4 or later, where the inefficient regular expression complexity issue has been fixed. No other mitigations are indicated or necessary.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-02T21:21:01.774Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a99de25acd9273b497230da
Added to database: 09/03/2026, 20:52:53 UTC
Last enriched: 09/15/2026, 00:30:34 UTC
Last updated: 10/17/2026, 06:48:21 UTC
Views: 84
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.