{"id":"UBUNTU-CVE-2026-102277","details":"The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.","modified":"2026-09-30T21:41:54Z","published":"2026-09-28T21:17:00Z","upstream":["CVE-2026-102277"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-102277"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-102277"},{"type":"REPORT","url":"https://github.com/juliangruber/brace-expansion/commit/33a5ef17b8d800bbfa8c52b14c39043b6aac1a96"},{"type":"REPORT","url":"https://github.com/juliangruber/brace-expansion/commit/bdff773f98e5988616b7039cc9b508df5d640b22"},{"type":"REPORT","url":"https://github.com/juliangruber/brace-expansion/commit/c55e67d8d8b1c56a2474afff15c2891166b2d364"},{"type":"REPORT","url":"https://github.com/juliangruber/brace-expansion/commit/ffdfa3e3806bed17c0874b8f1439b084de354a7e"},{"type":"REPORT","url":"https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-q2hr-2g5m-vwhr"}],"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_version":"1.1.8-1","binary_name":"node-brace-expansion"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102277.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-102277.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_name":"node-brace-expansion","binary_version":"2.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102277.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_name":"node-brace-expansion","binary_version":"2.0.1+~1.1.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102277.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-102277.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}