RHSA-2026:35387

Vulnerability from csaf_redhat - Published: 2026-07-03 09:43 - Updated: 2026-07-07 18:58
Summary
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Severity
Important
Notes
Topic: An update for Red Hat Hardened Images RPMs is now available.
Details: This update includes the following RPMs: vim: * vim-X11-9.2.780-1.hum1 (aarch64, x86_64) * vim-common-9.2.780-1.hum1 (aarch64, x86_64) * vim-data-9.2.780-1.hum1 (noarch) * vim-default-editor-9.2.780-1.hum1 (noarch) * vim-enhanced-9.2.780-1.hum1 (aarch64, x86_64) * vim-filesystem-9.2.780-1.hum1 (noarch) * vim-minimal-9.2.780-1.hum1 (aarch64, x86_64) * xxd-9.2.780-1.hum1 (aarch64, x86_64) * vim-9.2.780-1.hum1.src (src)
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

A flaw was found in Vim, an open-source command-line text editor. A remote attacker could exploit this vulnerability by convincing a user to load a specially crafted spell file. This malicious file can trigger a stack out-of-bounds write, which corrupts the editor's memory and causes it to crash. This leads to a Denial of Service (DoS), making the editor unavailable to the user.

CWE-787 - Out-of-bounds Write
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:vim-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:vim-main@noarch
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:vim-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:vim-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Moderate

There is a security flaw in Vim. If you use Vim to open a malicious file written by a hacker, and you use the auto-complete feature while typing, the file can secretly force your computer to run unauthorized commands or malware.

CWE-94 - Improper Control of Generation of Code ('Code Injection')
Affected products
Product Identifier Version Remediation
Unresolved product id: Red Hat Hardened Images:vim-main@aarch64
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:vim-main@noarch
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:vim-main@src
Vendor Fix fix
Workaround
Unresolved product id: Red Hat Hardened Images:vim-main@x86_64
Vendor Fix fix
Workaround
Threats
Impact Important

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for Red Hat Hardened Images RPMs is now available.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "This update includes the following RPMs:\n\nvim:\n  * vim-X11-9.2.780-1.hum1 (aarch64, x86_64)\n  * vim-common-9.2.780-1.hum1 (aarch64, x86_64)\n  * vim-data-9.2.780-1.hum1 (noarch)\n  * vim-default-editor-9.2.780-1.hum1 (noarch)\n  * vim-enhanced-9.2.780-1.hum1 (aarch64, x86_64)\n  * vim-filesystem-9.2.780-1.hum1 (noarch)\n  * vim-minimal-9.2.780-1.hum1 (aarch64, x86_64)\n  * xxd-9.2.780-1.hum1 (aarch64, x86_64)\n  * vim-9.2.780-1.hum1.src (src)",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2026:35387",
        "url": "https://access.redhat.com/errata/RHSA-2026:35387"
      },
      {
        "category": "external",
        "summary": "https://images.redhat.com/",
        "url": "https://images.redhat.com/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-57456",
        "url": "https://access.redhat.com/security/cve/CVE-2026-57456"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/",
        "url": "https://access.redhat.com/security/updates/classification/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-55892",
        "url": "https://access.redhat.com/security/cve/CVE-2026-55892"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_35387.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking": {
      "current_release_date": "2026-07-07T18:58:05+00:00",
      "generator": {
        "date": "2026-07-07T18:58:05+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.3.1"
        }
      },
      "id": "RHSA-2026:35387",
      "initial_release_date": "2026-07-03T09:43:18+00:00",
      "revision_history": [
        {
          "date": "2026-07-03T09:43:18+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-07-07T11:57:05+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-07-07T18:58:05+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Hardened Images",
                "product": {
                  "name": "Red Hat Hardened Images",
                  "product_id": "Red Hat Hardened Images",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:hummingbird:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Hardened Images"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "vim-main@src",
                "product": {
                  "name": "vim-main@src",
                  "product_id": "vim-main@src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/vim@9.2.780-1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "vim-main@aarch64",
                "product": {
                  "name": "vim-main@aarch64",
                  "product_id": "vim-main@aarch64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/vim-X11@9.2.780-1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "aarch64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "vim-main@x86_64",
                "product": {
                  "name": "vim-main@x86_64",
                  "product_id": "vim-main@x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/vim-X11@9.2.780-1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "vim-main@noarch",
                "product": {
                  "name": "vim-main@noarch",
                  "product_id": "vim-main@noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/vim-data@9.2.780-1.hum1?arch=noarch\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-main@aarch64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:vim-main@aarch64"
        },
        "product_reference": "vim-main@aarch64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-main@noarch as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:vim-main@noarch"
        },
        "product_reference": "vim-main@noarch",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-main@src as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:vim-main@src"
        },
        "product_reference": "vim-main@src",
        "relates_to_product_reference": "Red Hat Hardened Images"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "vim-main@x86_64 as a component of Red Hat Hardened Images",
          "product_id": "Red Hat Hardened Images:vim-main@x86_64"
        },
        "product_reference": "vim-main@x86_64",
        "relates_to_product_reference": "Red Hat Hardened Images"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-55892",
      "cwe": {
        "id": "CWE-787",
        "name": "Out-of-bounds Write"
      },
      "discovery_date": "2026-06-25T16:01:52.997166+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2492975"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in Vim, an open-source command-line text editor. A remote attacker could exploit this vulnerability by convincing a user to load a specially crafted spell file. This malicious file can trigger a stack out-of-bounds write, which corrupts the editor\u0027s memory and causes it to crash. This leads to a Denial of Service (DoS), making the editor unavailable to the user.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "vim: Vim: Denial of Service via crafted spell file",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "A flaw was found in Vim\u0027s spell file handling. The dump_prefixes() function in src/spell.c does not validate the depth of the prefix trie against the size of fixed-size stack arrays, allowing a crafted .spl file to cause a stack out-of-bounds write and crash. Red Hat ships Vim in all RHEL versions and OpenShift CoreOS. Exploitation requires a user to load a malicious spell file and run :spelldump or spelling completion.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:vim-main@aarch64",
          "Red Hat Hardened Images:vim-main@noarch",
          "Red Hat Hardened Images:vim-main@src",
          "Red Hat Hardened Images:vim-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-55892"
        },
        {
          "category": "external",
          "summary": "RHBZ#2492975",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2492975"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-55892",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-55892"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-55892",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55892"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/commit/8325b193bba5f01e7a7d8241f",
          "url": "https://github.com/vim/vim/commit/8325b193bba5f01e7a7d8241f"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/releases/tag/v9.2.0662",
          "url": "https://github.com/vim/vim/releases/tag/v9.2.0662"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/security/advisories/GHSA-qm9w-fmpj-879h",
          "url": "https://github.com/vim/vim/security/advisories/GHSA-qm9w-fmpj-879h"
        }
      ],
      "release_date": "2026-06-25T15:32:41.238000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-03T09:43:18+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:vim-main@aarch64",
            "Red Hat Hardened Images:vim-main@noarch",
            "Red Hat Hardened Images:vim-main@src",
            "Red Hat Hardened Images:vim-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:35387"
        },
        {
          "category": "workaround",
          "details": "Do not load untrusted spell files (.spl) from unknown sources. Avoid using :spelldump with spell files of unknown provenance.",
          "product_ids": [
            "Red Hat Hardened Images:vim-main@aarch64",
            "Red Hat Hardened Images:vim-main@noarch",
            "Red Hat Hardened Images:vim-main@src",
            "Red Hat Hardened Images:vim-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:vim-main@aarch64",
            "Red Hat Hardened Images:vim-main@noarch",
            "Red Hat Hardened Images:vim-main@src",
            "Red Hat Hardened Images:vim-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "vim: Vim: Denial of Service via crafted spell file"
    },
    {
      "cve": "CVE-2026-57456",
      "cwe": {
        "id": "CWE-94",
        "name": "Improper Control of Generation of Code (\u0027Code Injection\u0027)"
      },
      "discovery_date": "2026-06-25T16:01:37.648886+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2492972"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "There is a security flaw in Vim. If you use Vim to open a malicious file written by a hacker, and you use the auto-complete feature while typing, the file can secretly force your computer to run unauthorized commands or malware.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "vim: Vim: Arbitrary code execution via malicious docstrings in Python omni-completion",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This flaw is rated as Important. A vulnerability in Vim\u0027s Python omni-completion feature allows for arbitrary code execution. By opening a specially crafted file, a local attacker could execute arbitrary Python code due to improper handling of docstrings during omni-completion, leading to a compromise of the system where Vim is running.",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Hardened Images:vim-main@aarch64",
          "Red Hat Hardened Images:vim-main@noarch",
          "Red Hat Hardened Images:vim-main@src",
          "Red Hat Hardened Images:vim-main@x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-57456"
        },
        {
          "category": "external",
          "summary": "RHBZ#2492972",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2492972"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-57456",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-57456"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-57456",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57456"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/commit/cce141c42740f122dd8486ae04e21c2a81016ba8",
          "url": "https://github.com/vim/vim/commit/cce141c42740f122dd8486ae04e21c2a81016ba8"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/releases/tag/v9.2.0699",
          "url": "https://github.com/vim/vim/releases/tag/v9.2.0699"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3",
          "url": "https://github.com/vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3"
        }
      ],
      "release_date": "2026-06-25T15:16:16.015000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-07-03T09:43:18+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
          "product_ids": [
            "Red Hat Hardened Images:vim-main@aarch64",
            "Red Hat Hardened Images:vim-main@noarch",
            "Red Hat Hardened Images:vim-main@src",
            "Red Hat Hardened Images:vim-main@x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:35387"
        },
        {
          "category": "workaround",
          "details": "To mitigate this vulnerability, users should avoid opening untrusted Python files or using Python omni-completion on such files. If Python omni-completion is not required, it can be disabled by adding `autocmd FileType python setlocal omnifunc=` to your `.vimrc` file. This will prevent the vulnerable code from being executed. Disabling Python omni-completion will remove the ability to use `Ctrl-X Ctrl-O` for Python code completion. A restart of Vim is required for the changes to take effect.",
          "product_ids": [
            "Red Hat Hardened Images:vim-main@aarch64",
            "Red Hat Hardened Images:vim-main@noarch",
            "Red Hat Hardened Images:vim-main@src",
            "Red Hat Hardened Images:vim-main@x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "Red Hat Hardened Images:vim-main@aarch64",
            "Red Hat Hardened Images:vim-main@noarch",
            "Red Hat Hardened Images:vim-main@src",
            "Red Hat Hardened Images:vim-main@x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "vim: Vim: Arbitrary code execution via malicious docstrings in Python omni-completion"
    }
  ]
}


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…