Your RSA-2048 keys break in 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
Apr 30, 2025
Updated
Aug 12, 2026
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Sep 22, 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 Risk0.00%
Lower risk than most CVEs37th percentile — riskier than 37% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

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
8.9Mdownloads / 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-x5.0.0&&< 5.0.15.0.1npm install base-x@5.0.1
📦npmbase-x4.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.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2025-27611 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2025-27611. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

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…

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?

O3 Security finds CVE-2025-27611 across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2025-27611: base-x | O3 Security