{
  "id": "CVE-2025-1244",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-1244",
  "published_at": "2025-02-12T14:27:45.707Z",
  "title": "Emacs: shell injection vulnerability in gnu emacs via custom \"man\" uri scheme",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A command injection flaw was found in the text editor Emacs. It could allow a remote, unauthenticated attacker to execute arbitrary shell commands on a vulnerable system. Exploitation is possible by tricking users into visiting a specially crafted website or an HTTP URL with a redirect.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c 29.4.0"
        ],
        "fixed_in": [
          "29.4.0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "1:24.3-23.el7_9.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "1:26.1-13.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "1:26.1-13.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.2 Advanced Update Support",
        "ranges": null,
        "fixed_in": [
          "1:26.1-5.el8_2.3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "1:26.1-5.el8_4.3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "1:26.1-5.el8_4.3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "1:26.1-5.el8_4.3"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "1:26.1-7.el8_6.6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "1:26.1-7.el8_6.6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "1:26.1-7.el8_6.6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "1:26.1-10.el8_8.7"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "1:27.2-11.el9_5.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "1:27.2-6.el9_0.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "1:27.2-8.el9_2.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "1:27.2-10.el9_4.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Builds for Red Hat OpenShift 1.3.2",
        "ranges": null,
        "fixed_in": [
          "1.3.1-1741784043"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 29.4.0 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 1:24.3-23.el7_9.2 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 1:26.1-13.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 1:26.1-13.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 1:26.1-5.el8_2.3 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 1:26.1-5.el8_4.3 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Telecommunications Update Service to 1:26.1-5.el8_4.3 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions to 1:26.1-5.el8_4.3 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 1:26.1-7.el8_6.6 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 1:26.1-7.el8_6.6 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 1:26.1-7.el8_6.6 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Extended Update Support to 1:26.1-10.el8_8.7 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 1:27.2-11.el9_5.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 1:27.2-6.el9_0.2 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Extended Update Support to 1:27.2-8.el9_2.2 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 1:27.2-10.el9_4.1 or later.",
      "Upgrade Builds for Red Hat OpenShift 1.3.2 to 1.3.1-1741784043 or later."
    ],
    "workarounds": [
      "There is no an existing or known mitigation for this issue without disabling part of the Emacs core functionality. However, by avoiding opening or view untrusted files, websites, HTTP URLs or other URI resources with Emacs would reduce or prevent the risk of performing this attack successfully."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:1915"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:1917"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:1961"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:1962"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:1963"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:1964"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2022"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2130"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
