---
id: CVE-2026-85062
title: >-
  Colord is a tiny yet powerful tool for high-performance color manipulations
  and conversions
summary: >-
  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.t…
severity: medium
cvss: 6.9
cvssVector: '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'
cwe:
  - CWE-1333
vendor: omgovich
product: colord
affected:
  - colord < 2.9.4
patched:
  - colord 2.9.4
published: '2026-09-03'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:09:13.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85062'
references:
  - url: >-
      https://github.com/omgovich/colord/commit/87018089515ed66a85b1a95c3c7c3fd69a25bac2
    label: security-advisories@github.com
  - url: 'https://github.com/omgovich/colord/pull/141'
    label: security-advisories@github.com
  - url: 'https://github.com/omgovich/colord/security/advisories/GHSA-2wm5-q62r-hmrv'
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85062'
  - url: 'https://github.com/advisories/GHSA-2wm5-q62r-hmrv'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-85062.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-85062'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2528259'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-85062'
tags:
  - nvd
  - cve.org
  - ghsa
  - npm
  - csaf
  - vex
  - red-hat
epss: 0.00507
epssPercentile: 0.40701
aliases:
  - GHSA-2wm5-q62r-hmrv
ecosystem: npm
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-09T17:45:49.335799Z'
cvssSource: cna
ingestedAt: '2026-09-08T21:11:12.322Z'
scores:
  cna: 6.9
  vendor: 5.3
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-85062)

Affected packages:

- `colord < 2.9.4`

Patched in:

- `colord 2.9.4`

Source: https://github.com/advisories/GHSA-2wm5-q62r-hmrv

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Node HealthCheck Operator, OpenShift Service Mesh 3, Red Hat Ansible Automation Platform 2, Red Hat Certification Program for Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, … · no fix planned: Node HealthCheck Operator, OpenShift Service Mesh 3, Red Hat Ansible Automation Platform 2, Red Hat Certification Program for Red Hat Enterprise Linux 9, … · updated 2026-09-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-85062.json)
