# CVE-2026-85062: Colord: Slow rejection of oversized malformed color strings

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.51% (percentile 36, 2026-11-28)
- **CWE:** CWE-1333
- **Aliases:** GHSA-2wm5-q62r-hmrv
- **Published:** 2026-09-03T20:30:12.768Z
- **Modified:** 2026-09-09T21:09:13.080Z

## Who should check

- Projects that depend on npm package colord (\< 2.9.4)
- Anyone running omgovich colord \< 2.9.4

## 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.

## Affected and fixed versions

- npm `colord`: affected \< 2.9.4; fixed 2.9.4 (osv)
- omgovich colord: \< 2.9.4 (cvelist)

## Mitigation

- Upgrade colord to 2.9.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-85062. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-85062.md
Affected: colord < 2.9.4
Fixed in: 2.9.4

Steps:
1. Search this machine and project for colord (npm), omgovich colord: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-85062 being exploited?

There is no confirmed exploitation: CVE-2026-85062 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-85062?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-85062?

colord \< 2.9.4.

### Is there a fix for CVE-2026-85062?

Yes. Fixed in 2.9.4. Upgrade colord to 2.9.4 or later.

### How do I check if I'm affected by CVE-2026-85062?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/omgovich/colord/security/advisories/GHSA-2wm5-q62r-hmrv>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-85062>
- patch: <https://github.com/omgovich/colord/pull/141>
- patch: <https://github.com/omgovich/colord/commit/87018089515ed66a85b1a95c3c7c3fd69a25bac2>
- other: <https://github.com/omgovich/colord>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-85062>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2wm5-q62r-hmrv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-85062> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-85062>
