CVE-2024-4068
published high CVSS 3.1 · 7.5Memory Exhaustion in braces
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| micromatch | — | braces0 through 3.0.2 (affected · git); changes: unaffected at 3.0.3 · Other versions: unknown | Version-specific | Not stated | Checkmarx |
| micromatch | — | braces0 to < 3.0.3 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP3 | pgadmin4aarch64 | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP3 | pgadmin4ppc64le | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP3 | pgadmin4s390x | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP3 | pgadmin4x86_64 | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP3 | pgadmin4-docnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP3 | pgadmin4-webnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
Show 48 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | pgadmin4aarch64 | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP4 | pgadmin4ppc64le | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP4 | pgadmin4s390x | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP4 | pgadmin4x86_64 | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP4 | pgadmin4-docnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP4 | pgadmin4-webnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP5 | pgadmin4aarch64 | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP5 | pgadmin4ppc64le | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP5 | pgadmin4s390x | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP5 | pgadmin4x86_64 | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP5 | pgadmin4-docnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP5 | pgadmin4-webnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4noarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4s390x | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:01326-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4s390x | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4-docnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:01326-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4-docnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4-docnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4-webnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:01326-1 |
| SUSE / openSUSE | SLE-15-SP6 | pgadmin4-webnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-15-SP6 | system-user-pgadminnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4noarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4s390x | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:01326-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4s390x | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4-docnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:01326-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4-docnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4-docnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4-webnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:01326-1 |
| SUSE / openSUSE | SLE-3-SP6 | pgadmin4-webnoarch | Advisory build | 4.30-150300.3.18.1 | SUSE-SU-2025:1326-1 |
| SUSE / openSUSE | SLE-3-SP6 | system-user-pgadminnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4noarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-cloudnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-desktopnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-docnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pgadmin4-web-uwsginoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | system-user-pgadminnoarch | Advisory build | 8.5-150600.3.6.1 | SUSE-SU-2024:3771-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefikaarch64 | Advisory build | 3.1.2-1.1 | OPENSUSE-SU-2024:14257-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefikppc64le | Advisory build | 3.1.2-1.1 | OPENSUSE-SU-2024:14257-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefiks390x | Advisory build | 3.1.2-1.1 | OPENSUSE-SU-2024:14257-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefikx86_64 | Advisory build | 3.1.2-1.1 | OPENSUSE-SU-2024:14257-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefik2aarch64 | Advisory build | 2.11.8-1.1 | OPENSUSE-SU-2024:14258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefik2ppc64le | Advisory build | 2.11.8-1.1 | OPENSUSE-SU-2024:14258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefik2s390x | Advisory build | 2.11.8-1.1 | OPENSUSE-SU-2024:14258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | traefik2x86_64 | Advisory build | 2.11.8-1.1 | OPENSUSE-SU-2024:14258-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Checkmarx · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| micromatch | braces | 0 through 3.0.2 (affected · git); changes: unaffected at 3.0.3Default: unknown | Checkmarx · cna |
| micromatch | braces | 0 to < 3.0.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-1050 CWE-1050: Excessive Platform Resource Consumption within a Loop
- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
5Provider assertions
3Checkmarx · cna
Memory Exhaustion in braces
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 69e3c7400885ad796b62bb5716a939c662941ffbb2b0efbd379f928195034b45
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record