{"id":"CVE-2026-85062","published":"2026-09-03T20:30:12Z","modified":"2026-09-09T17:45:56Z","title":"Colord: Slow rejection of oversized malformed color strings","vendor":"omgovich","product":"colord","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36412,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/omgovich/colord/security/advisories/GHSA-2wm5-q62r-hmrv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/omgovich/colord/pull/141","tags":["x_refsource_MISC"]},{"url":"https://github.com/omgovich/colord/commit/87018089515ed66a85b1a95c3c7c3fd69a25bac2","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"omgovich","affectedVersions":[{"vendor":"omgovich","product":"colord","versions":["< 2.9.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-09T17:45:49.335799Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"colord","vulnerableRanges":["<2.9.4"],"patched":["2.9.4"],"from":["GHSA-2wm5-q62r-hmrv"],"provenance":"source"}],"summary":{"text":"The Colord colour-manipulation library, prior to version 2.9.4, has inefficient regular expressions in its CSS colour string parsers (the RGB, HSL, HWB, LCH and CMYK matchers in its colour model modules) that take disproportionately long to reject malformed input. An attacker who can get an unbounded, malformed colour string into colord(), getFormat(), isEqual(), mix() or contrast() over the network, without authentication or user interaction, can tie up the processing thread with a payload only a few kilobytes long.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:12Z"},"euvd":{"id":"EUVD-2026-70736","exploited":false,"provenance":"source"}}