Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2018-25061

MEDIUM 4.3EPSS 63%

rgb2hex redos

Also known as GHSA-7599-fqgm-v84p

Mitigation

  • Upgrade rgb2hex to 0.1.6 or later.

Who should check

  • Projects that depend on npm package rgb2hex (< 0.1.6)
  • Anyone running rgb2hex 0.1.0; 0.1.1; 0.1.2; 0.1.3; 0.1.4; 0.1.5

Vulnerability facts

Affected
rgb2hex < 0.1.6
Fixed in
0.1.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Low
EPSS
1.03% chance of exploitation in 30 days (percentile 63, 2026-11-26)
CWE
CWE-1333
Published
Modified

Description

A vulnerability was found in rgb2hex up to 0.1.5. It has been rated as problematic. This issue affects some unknown processing. The manipulation leads to inefficient regular expression complexity. The attack may be initiated remotely. Upgrading to version 0.1.6 is able to address this issue. The patch is named 9e0c38594432edfa64136fdf7bb651835e17c34f. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217151.

Affected and fixed versions

Package / productAffectedFixedSource
npm rgb2hex< 0.1.60.1.6osv
rgb2hex0.1.0; 0.1.1; 0.1.2; 0.1.3; 0.1.4; 0.1.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2018-25061. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-25061.md
Affected: rgb2hex < 0.1.6
Fixed in: 0.1.6

Steps:
1. Search this machine and project for rgb2hex (npm), rgb2hex: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2018-25061 being exploited?

There is no confirmed exploitation: CVE-2018-25061 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.03% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2018-25061?

Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2018-25061?

rgb2hex < 0.1.6.

Is there a fix for CVE-2018-25061?

Yes. Fixed in 0.1.6. Upgrade rgb2hex to 0.1.6 or later.

How do I check if I'm affected by CVE-2018-25061?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors