What’s Vulnerable › Vulnerabilities
CVE-2026-85062: Colord: Slow rejection of oversized malformed color strings
- Severity: medium (CVSS 6.9 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-03 · updated 2026-09-09
- Weakness: CWE-1333
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 products
- omgovich colord: before 2.9.4
References
- https://github.com/omgovich/colord/commit/87018089515ed66a85b1a95c3c7c3fd69a25bac2
- https://github.com/omgovich/colord/pull/141
- https://github.com/omgovich/colord/security/advisories/GHSA-2wm5-q62r-hmrv
Get alerted when CVE-2026-85062 or the next vulnerability affects your stack