Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/omgovich/colord/commit/87018089515ed66a85b1a95c3c7c3fd69a25ba
- https://github.com/omgovich/colord/pull/141
- https://github.com/omgovich/colord/security/advisories/GHSA-2wm5-q62r-hmrv
FAQ
What is CVE-2026-85062?
CVE-2026-85062 is a documented vulnerability. 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/hslS...
How severe is CVE-2026-85062?
CVSS scoring is not yet available for CVE-2026-85062. Check NVD for updates.
Is there a patch for CVE-2026-85062?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.