Skip to content
Noroxi
CVE-2024-4068· NVD / CVE Program· CNA Checkmarx

Memory Exhaustion in braces

The NPM package `braces`, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In `lib/parse.js,` if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.

HighCVSS 7.5 · v3.1—Proof of concept Fix available
Published
May 14, 2024
Updated
Jun 17, 2026
EPSS
1.5% · 73th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.5%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · Checkmarx
7.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
jonschlinkertbraces

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • jonschlinkert bracesbefore 3.0.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Checkmarx). Independent of NVD's CPE analysis and usually ahead of it.

  • micromatch braces

    • up to and including 3.0.2affected · gitfixed in 3.0.3

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12node-bracesall versions—
Debian:13node-bracesbefore 3.0.3+~3.0.4-13.0.3+~3.0.4-1
npmbracesbefore 3.0.33.0.3
openSUSE:Tumbleweedtraefikbefore 3.1.2-1.13.1.2-1.1
openSUSE:Tumbleweedtraefik2before 2.11.8-1.12.11.8-1.1
openSUSE:Tumbleweedvelociraptorbefore 0.7.0.4.git142.862ef23-1.10.7.0.4.git142.862ef23-1.1
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-hal-consolebefore 0:3.3.24-1.Final_redhat_00001.1.el7eap0:3.3.24-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-hibernate-validatorbefore 0:6.0.23-2.SP1_redhat_00001.1.el7eap0:6.0.23-2.SP1_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-hibernate-validator-cdibefore 0:6.0.23-2.SP1_redhat_00001.1.el7eap0:6.0.23-2.SP1_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-insights-java-clientbefore 0:1.1.3-1.redhat_00001.1.el7eap0:1.1.3-1.redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamarbefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-common-apibefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-common-implbefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-common-spibefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-core-apibefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-core-implbefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-deployers-commonbefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-jdbcbefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-ironjacamar-validatorbefore 0:1.5.18-1.Final_redhat_00001.1.el7eap0:1.5.18-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-jboss-cert-helperbefore 0:1.1.3-1.redhat_00001.1.el7eap0:1.1.3-1.redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-jboss-cert-helper-debuginfobefore 0:1.1.3-1.redhat_00001.1.el7eap0:1.1.3-1.redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-jboss-ejb-clientbefore 0:4.0.55-1.Final_redhat_00001.1.el7eap0:4.0.55-1.Final_redhat_00001.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migrationbefore 0:1.10.0-39.Final_redhat_00039.1.el7eap0:1.10.0-39.Final_redhat_00039.1.el7eap
Red Hat:jboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration-clibefore 0:1.10.0-39.Final_redhat_00039.1.el7eap0:1.10.0-39.Final_redhat_00039.1.el7eap

+69

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
micromatch braces3.0.3Vendor (CNA)
debian:node-braces3.0.3+~3.0.4-1 · Debian:13Package registry (OSV)
npm:braces3.0.3Package registry (OSV)
opensuse:pgadmin48.5-150600.3.6.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:traefik3.1.2-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:traefik22.11.8-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:velociraptor0.7.0.4.git142.862ef23-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:eap7-hal-console0:3.3.24-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-hibernate-validator0:6.0.23-2.SP1_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-hibernate-validator-cdi0:6.0.23-2.SP1_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-insights-java-client0:1.1.3-1.redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar-common-api0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar-common-impl0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar-common-spi0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar-core-api0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar-core-impl0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar-deployers-common0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
red hat:eap7-ironjacamar-jdbc0:1.5.18-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7Package registry (OSV)
suse:pgadmin48.5-150600.3.6.1 · SUSE:Linux Enterprise Module for Python 3 15 SP6Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02026-07-17

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+794 d
  3. TodaySep 30, 2026+869 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records