Skip to main content
EPSS 0.5%top 58%

CVE-2026-85062: CWE-1333: Inefficient Regular Expression Complexity in omgovich colord

0
Medium
VulnerabilityCVE-2026-85062cvecve-2026-85062cwe-1333
Published: 09/03/2026 (09/03/2026, 20:30:12 UTC)
Source: CVE Database V5
Vendor/Project: omgovich
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

omgovich

colord

Affected versions
<2.9.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/15/2026, 00:30:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses