{
  "threat_severity" : "Low",
  "public_date" : "2023-09-04T00:00:00Z",
  "bugzilla" : {
    "description" : "vim: use-after-free in function ins_compl_get_exp in vim/vim",
    "id" : "2237311",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2237311"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.0",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-416",
  "details" : [ "Use After Free in GitHub repository vim/vim prior to 9.0.1858.", "A flaw was found in Vim, where it is vulnerable to a use-after-free in the ins_compl_get_exp function. This flaw allows a specially crafted file to crash software, use unexpected values, or possibly execute code when opened in Vim." ],
  "statement" : "Red Hat Product Security has rated this issue as having a Low security impact, because the \"victim\" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:7440",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "vim-2:8.2.2637-22.el9_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-05-13T00:00:00Z",
    "advisory" : "RHSA-2025:7440",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "vim-2:8.2.2637-22.el9_6"
  }, {
    "product_name" : "Red Hat Discovery 1.14",
    "release_date" : "2025-06-02T00:00:00Z",
    "advisory" : "RHSA-2025:8385",
    "cpe" : "cpe:/a:redhat:discovery:1.14::el9",
    "package" : "discovery/discovery-ui-rhel9:sha256:492e412759cf0eedfa5b557f7b0865f8864f84d0ed75e11dc8d7a840837d9644"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Will not fix",
    "package_name" : "vim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-4752\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-4752\nhttps://huntr.dev/bounties/85f62dd7-ed84-4fa2-b265-8a369a318757" ],
  "name" : "CVE-2023-4752",
  "csaw" : false
}