NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

CVE-2025-27611 — base-x

Fix: cryptocoinjs/base-x#86

CVE-2025-27611 is a CWE-1007 vulnerability in base-x. A fix is available for base-x — see the affected versions and patch details below.

base-x homograph attack allows Unicode lookalike characters to bypass validation.

Also known asGHSA-xq7p-g2vc-g82p
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Nov 6, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-27611.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk-0.00%
Lower risk than most CVEs39th percentile — riskier than 39% of all scored CVEsHighest risk
0.00%0.32%0.64%0.95%0.4%0.4%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

645other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
base-xnpm
15.2Mdownloads / week

Description

base-x is a base encoder and decoder of any given alphabet using bitcoin style leading zero compression. Versions 4.0.0, 5.0.0, and all prior to 3.0.11, are vulnerable to attackers potentially deceiving users into sending funds to an unintended address. This issue has been patched in versions 3.0.11, 4.0.1, and 5.0.1.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmbase-x≥ 5.0.0&&< 5.0.15.0.1npm install base-x@5.0.1
📦npmbase-x≥ 4.0.0&&< 4.0.14.0.1npm install base-x@4.0.1
📦npmbase-xall versions3.0.11npm install base-x@3.0.11

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for base-x, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update base-x to 5.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-27611 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

This vulnerability in base-x is Important because it affects the encoding and decoding of addresses in blockchain transactions. The flaw arises from mishandling of leading zero compression, enabling attackers to craft malicious encodings that deceive systems or users into misdirecting funds. As blockchain transactions…

Workaround published by Red Hat
No mitigation is currently available that meets Red Hat Product Security’s standards for usability, deployment, applicability, or stability.
Source: Red Hat security advisory for CVE-2025-27611 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat JBoss Enterprise Application Platform 8.0.8org.jboss.hal-hal-parentRHSA-2025:10459
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8eap8-activemq-artemis-0:2.33.0-3.redhat_00017.1.el8eapRHSA-2025:10452
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9eap8-activemq-artemis-0:2.33.0-3.redhat_00017.1.el9eapRHSA-2025:10453

Frequently Asked Questions

base-x is a base encoder and decoder of any given alphabet using bitcoin style leading zero compression. Versions 4.0.0, 5.0.0, and all prior to 3.0.11, are vulnerable to attackers potentially deceiving users into sending funds to an unintended address. This issue has been patched in versions 3.0.11, 4.0.1, and 5.0.1.
O3 Security · Impact-Aware SCA

Is CVE-2025-27611 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2025-27611: base-x — Fixed in 5.0.1