Skip to main content
Public proof of conceptFix available

CVE-2023-26115

A public proof of concept exists; no exploitation attested.

  • Published2023-06-22
  • Fixed in1.2.4
  • WeaknessCWE-1333

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.

Timeline

dates in UTC
  1. 2023-06-2205:15CVE publishedNVD

Versions per branch

NVD · OSV
Word-wrap project word-wrap
BranchAffectedFixed in
1.2< 1.2.41.2.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As snyk, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • word-wrap
    Affected
    • all versionsno fix statedsemver
  • org.webjars.npm:word-wrap
    Affected
    • all versionsno fix statedsemver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-21

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/word-wrapRoot:npmall versions · fixed in 1.2.3-root.io.1
  • @rootio/word-wrapRoot:npmall versions · fixed in 1.2.3-root.io.2
  • arangodb-3.11Chainguardall versions · fixed in 3.11.14.5-r29
  • arangodb-3.12Chainguardall versions · fixed in 3.12.11-r0
  • js-jqueryAzure Linux:3all versions · no fixed version listed
  • js-jqueryAzure Linux:2all versions · no fixed version listed
  • trigger-devMinimOSall versions · fixed in 4.5.0-r0
  • word-wrapTuxCare:npmfrom 1.2.3-tuxcare.0 · fixed in 1.2.3-tuxcare.1

1 more package range on OSV.dev

Vendor advisories

  • CVE-2023-26115 Red Hat Product Security48 products fixed · 38 known affected

    word-wrap: ReDoS

    mta/mta-ui-rhel9 as a component of Migration Toolkit for Applications 6 · migration-toolkit-virtualization/mtv-ui-rhel8 as a component of Migration Toolkit for Virtualization · openshift-pipelines/pipelines-hub-ui-rhel8 as a component of OpenShift Pipelines · +35 more

  • RHEA-2024:11005 Red Hat Product Security4 products fixed

    Red Hat Enhancement Advisory: Errata Advisory for Red Hat OpenShift GitOps v1.15.0

  • RHSA-2024:8581 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Errata Advisory for Red Hat OpenShift GitOps v1.13.2 security update

  • RHEA-2024:6787 Red Hat Product Security4 products fixed

    Red Hat Enhancement Advisory: Errata Advisory for Red Hat OpenShift GitOps v1.14.0

  • RHSA-2023:7681 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.14.6 security and extras update

  • RHSA-2023:5006 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.14.0 bug fix and security update

4 more advisories

Full record on NVD

Fix

  1. Update Word-wrap project word-wrap to 1.2.4
  2. Vendor fix Red Hat Product Security RHEA-2024:11005 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2023:7681 · 4 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.14/release_notes/ocp-4-1…
  4. Vendor fix Red Hat Product Security RHSA-2023:5006 · 4 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.14/release_notes/o…
  5. Vendor fix Red Hat Product Security RHSA-2023:5447 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  6. No fix planned, says the vendor Red Hat Product Security CVE-2023-26115 · 3 productsOut of support scope

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-06-26
  • CNACVSS 3.15.3known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-1333known since 2026-10-23
  • NVDweakness (CWE)CWE-1333read 2026-10-23
  • FIRST EPSSEPSS score1.7 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2023-06-23

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-06-22
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-j8xg-fqg3-53r7

Frequently asked questions

What is CVE-2023-26115?

All versions of the package word-wrap are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of an insecure regular expression within the result variable.

Is CVE-2023-26115 actively exploited?

A proof-of-concept exploit exists for CVE-2023-26115, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-26115?

CVE-2023-26115 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running word-wrap? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record