p PatchFirst

CVE-2026-85062

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 6.9 · Moyenne · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • colord

    Versions du logiciel
    • < 2.9.4: Concernée

    Aucun correctif publié

  • colord npm

    Plages de versions concernées
    • SEMVER: < 2.9.4

    Mettez à jour vers 2.9.4

Sources originales

Vérifiez votre serveur →