{"id":"UBUNTU-CVE-2026-13149","details":"brace-expansion through 5.0.6 is vulnerable to denial of service. The expand() function exhibits exponential-time complexity in the number of consecutive non-expanding '{}' brace groups. An attacker who passes a crafted string to expand(), directly or transitively, can cause significant CPU consumption and event-loop blocking. The max option does not mitigate this, as it bounds the output size rather than the recursion work.","modified":"2026-07-01T21:19:39Z","published":"2026-06-30T10:16:00Z","upstream":["CVE-2026-13149"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-13149"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-13149"},{"type":"REPORT","url":"https://github.com/juliangruber/brace-expansion/commit/c7e33ec13ac1a684c116720843ce24e208611754"},{"type":"REPORT","url":"https://www.npmjs.com/package/brace-expansion"}],"affected":[{"package":{"name":"node-brace-expansion","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-brace-expansion?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-brace-expansion","binary_version":"1.1.8-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13149.json"}},{"package":{"name":"node-brace-expansion","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-brace-expansion?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.8-1","1.1.11-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-brace-expansion","binary_version":"1.1.11-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13149.json"}},{"package":{"name":"node-brace-expansion","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-brace-expansion?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1","2.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.1-1","binary_name":"node-brace-expansion"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13149.json"}},{"package":{"name":"node-brace-expansion","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-brace-expansion?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1-2","2.0.1+~1.1.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.1+~1.1.0-1","binary_name":"node-brace-expansion"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13149.json"}},{"package":{"name":"node-brace-expansion","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-brace-expansion?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1+~1.1.0-1","2.0.1+~1.1.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.1+~1.1.0-2","binary_name":"node-brace-expansion"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13149.json"}},{"package":{"name":"node-brace-expansion","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/node-brace-expansion?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.1+~1.1.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-brace-expansion","binary_version":"2.0.1+~1.1.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13149.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/S:N/AU:Y/R:U/V:D/RE:M/U:Amber"},{"type":"Ubuntu","score":"medium"}]}