ubuntu-cve-2025-27789
Vulnerability from osv_ubuntu
Published
2025-03-11 20:15
Modified
2026-05-20 15:17
Summary
Details

Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the .replace method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to .replace). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the .replace method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of .replace. This problem has been fixed in @babel/helpers and @babel/runtime 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on @babel/helpers, and instead depend on @babel/core (which itself depends on @babel/helpers). Upgrading to @babel/core 7.26.10 is not required, but it guarantees use of a new enough @babel/helpers version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "node-babel-cli",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-code-frame",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-core",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-generator",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-bindify-decorators",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-builder-binary-assignment-operator-visitor",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-builder-react-jsx",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-call-delegate",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-define-map",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-explode-assignable-expression",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-explode-class",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-function-name",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-get-function-arity",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-hoist-variables",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-optimise-call-expression",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-regex",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-remap-async-to-generator",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helper-replace-supers",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-helpers",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-messages",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-external-helpers",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-async-functions",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-async-generators",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-class-constructor-call",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-class-properties",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-decorators",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-do-expressions",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-dynamic-import",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-exponentiation-operator",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-export-extensions",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-flow",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-function-bind",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-jsx",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-object-rest-spread",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-syntax-trailing-function-commas",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-async-generator-functions",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-async-to-generator",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-class-constructor-call",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-class-properties",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-decorators",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-do-expressions",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-es3-member-expression-literals",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-es3-property-literals",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-exponentiation-operator",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-export-extensions",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-flow-strip-types",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-function-bind",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-jscript",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-object-rest-spread",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-proto-to-assign",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-display-name",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-jsx",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-jsx-self",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-jsx-source",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-regenerator",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-runtime",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-plugin-transform-strict-mode",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-polyfill",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-es2015",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-es2016",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-es2017",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-flow",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-latest",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-react",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-stage-0",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-stage-1",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-stage-2",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-preset-stage-3",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-register",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-runtime",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-template",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-traverse",
            "binary_version": "6.26.0+dfsg-3build6"
          },
          {
            "binary_name": "node-babel-types",
            "binary_version": "6.26.0+dfsg-3build6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "node-babel",
        "purl": "pkg:deb/ubuntu/node-babel@6.26.0+dfsg-3build6?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.26.0+dfsg-3build5",
        "6.26.0+dfsg-3build6"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "node-babel-cli",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-code-frame",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-core",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-generator",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-bindify-decorators",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-builder-binary-assignment-operator-visitor",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-builder-react-jsx",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-call-delegate",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-define-map",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-explode-assignable-expression",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-explode-class",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-function-name",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-get-function-arity",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-hoist-variables",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-optimise-call-expression",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-regex",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-remap-async-to-generator",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helper-replace-supers",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-helpers",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-messages",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-external-helpers",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-async-functions",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-async-generators",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-class-constructor-call",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-class-properties",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-decorators",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-do-expressions",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-dynamic-import",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-exponentiation-operator",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-export-extensions",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-flow",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-function-bind",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-jsx",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-object-rest-spread",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-syntax-trailing-function-commas",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-async-generator-functions",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-async-to-generator",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-class-constructor-call",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-class-properties",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-decorators",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-do-expressions",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-es3-member-expression-literals",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-es3-property-literals",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-exponentiation-operator",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-export-extensions",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-flow-strip-types",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-function-bind",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-jscript",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-object-rest-spread",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-proto-to-assign",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-display-name",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-jsx",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-jsx-self",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-react-jsx-source",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-regenerator",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-runtime",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-plugin-transform-strict-mode",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-polyfill",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-es2015",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-es2016",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-es2017",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-flow",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-latest",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-react",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-stage-0",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-stage-1",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-stage-2",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-preset-stage-3",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-register",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-runtime",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-template",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-traverse",
            "binary_version": "6.26.0+repack-3"
          },
          {
            "binary_name": "node-babel-types",
            "binary_version": "6.26.0+repack-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "node-babel",
        "purl": "pkg:deb/ubuntu/node-babel@6.26.0+repack-3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.26.0+dfsg-3build6",
        "6.26.0+repack-2",
        "6.26.0+repack-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "node-babel7",
            "binary_version": "7.12.12+~cs150.141.84-8"
          },
          {
            "binary_name": "node-babel7-runtime",
            "binary_version": "7.12.12+~cs150.141.84-8"
          },
          {
            "binary_name": "node-babel7-standalone",
            "binary_version": "7.12.12+~cs150.141.84-8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "node-babel7",
        "purl": "pkg:deb/ubuntu/node-babel7@7.12.12+~cs150.141.84-8?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.12.12+~cs150.141.84-6",
        "7.12.12+~cs150.141.84-7",
        "7.12.12+~cs150.141.84-8"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "node-babel7",
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1"
          },
          {
            "binary_name": "node-babel7-debug",
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1"
          },
          {
            "binary_name": "node-babel7-runtime",
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1"
          },
          {
            "binary_name": "node-babel7-standalone",
            "binary_version": "7.20.15+ds1+~cs214.269.168-6build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "node-babel7",
        "purl": "pkg:deb/ubuntu/node-babel7@7.20.15+ds1+~cs214.269.168-6build1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.20.15+ds1+~cs214.269.168-4",
        "7.20.15+ds1+~cs214.269.168-5",
        "7.20.15+ds1+~cs214.269.168-6",
        "7.20.15+ds1+~cs214.269.168-6build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "node-babel7",
            "binary_version": "7.20.15+ds1+~cs214.269.168-8"
          },
          {
            "binary_name": "node-babel7-debug",
            "binary_version": "7.20.15+ds1+~cs214.269.168-8"
          },
          {
            "binary_name": "node-babel7-runtime",
            "binary_version": "7.20.15+ds1+~cs214.269.168-8"
          },
          {
            "binary_name": "node-babel7-standalone",
            "binary_version": "7.20.15+ds1+~cs214.269.168-8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "node-babel7",
        "purl": "pkg:deb/ubuntu/node-babel7@7.20.15+ds1+~cs214.269.168-8?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.20.15+ds1+~cs214.269.168-8"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "node-babel7",
            "binary_version": "7.20.15+ds1+~cs214.269.168-16"
          },
          {
            "binary_name": "node-babel7-debug",
            "binary_version": "7.20.15+ds1+~cs214.269.168-16"
          },
          {
            "binary_name": "node-babel7-runtime",
            "binary_version": "7.20.15+ds1+~cs214.269.168-16"
          },
          {
            "binary_name": "node-babel7-standalone",
            "binary_version": "7.20.15+ds1+~cs214.269.168-16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "node-babel7",
        "purl": "pkg:deb/ubuntu/node-babel7@7.20.15+ds1+~cs214.269.168-16?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.20.15+ds1+~cs214.269.168-8",
        "7.20.15+ds1+~cs214.269.168-9",
        "7.20.15+ds1+~cs214.269.168-11build1",
        "7.20.15+ds1+~cs214.269.168-14",
        "7.20.15+ds1+~cs214.269.168-16"
      ]
    }
  ],
  "aliases": [],
  "details": "Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the `.replace` method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to `.replace`). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the `.replace` method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of `.replace`. This problem has been fixed in `@babel/helpers` and `@babel/runtime` 7.26.10 and 8.0.0-alpha.17. It\u0027s likely that individual users do not directly depend on `@babel/helpers`, and instead depend on `@babel/core` (which itself depends on `@babel/helpers`). Upgrading to `@babel/core` 7.26.10 is not required, but it guarantees use of a new enough `@babel/helpers` version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.",
  "id": "UBUNTU-CVE-2025-27789",
  "modified": "2026-05-20T15:17:32Z",
  "published": "2025-03-11T20:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-27789"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-27789"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/babel/babel/pull/17173"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-27789"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…