Vulnerability in colord
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-85062 has been found in colord.
Attackers can target a specific entry point like colord over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade colord to 2.9.4 or later.
If unsure, ask your IT team or search "colord CVE-2026-85062" on the vendor's site.
CVE-2026-85062 (colord) — CWE-1333
Attack surface: colord / parseRgbaString / parseHslaString / parseHwbaString
Patched: 2.9.4 — apply immediately
Workaround: Reject or truncate color strings longer than a sane limit (e.g.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-1333) exists in colord. Attackers reach the vulnerable code path via colord.
Check the vendor advisory for the affected versions of colord. Attack surface: colord / parseRgbaString / parseHslaString / parseHwbaString.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 2.9.4.
Workaround: Reject or truncate color strings longer than a sane limit (e.g.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'colord' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'colord' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
colordを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Reject or truncate color strings longer than a sane limit (e.g.パッチが適用されるまでの応急処置として、Reject or truncate color strings longer than a sane limit (e.g. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade colord to 2.9.4ステージング環境で 2.9.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmcolord |
< 2.9.4→ 2.9.4 |
2.9.4 |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com