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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-09-03T20:30:12.768Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: GHSA-2wm5-q62r-hmrv
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- omgovich colord: < 2.9.4
- colord (npm): before 2.9.4

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/omgovich/colord/security/advisories/GHSA-2wm5-q62r-hmrv> (web)
- <https://github.com/omgovich/colord/pull/141> (web)
- <https://github.com/omgovich/colord/commit/87018089515ed66a85b1a95c3c7c3fd69a25bac2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-85062> (advisory)
- <https://github.com/omgovich/colord> (package)

## Sources

- CVE List: [CVE-2026-85062](https://www.cve.org/CVERecord?id=CVE-2026-85062), CVE Terms of Use, modified 2026-09-09
- GitHub Advisory Database: [GHSA-2wm5-q62r-hmrv](https://github.com/advisories/GHSA-2wm5-q62r-hmrv), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-85062](https://nvd.nist.gov/vuln/detail/CVE-2026-85062), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-85062 · Whole record: https://cve.day/CVE-2026-85062.json · Rebuilt by cve.day 2026-11-25T22:59:36.232Z
