RHSA-2026:30267

Vulnerability from csaf_redhat - Published: 2026-06-26 09:46 - Updated: 2026-07-01 19:41
Summary
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Severity
Moderate
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.725-1.hum1 (aarch64, x86_64) * vim-common-9.2.725-1.hum1 (aarch64, x86_64) * vim-data-9.2.725-1.hum1 (noarch) * vim-default-editor-9.2.725-1.hum1 (noarch) * vim-enhanced-9.2.725-1.hum1 (aarch64, x86_64) * vim-filesystem-9.2.725-1.hum1 (noarch) * vim-minimal-9.2.725-1.hum1 (aarch64, x86_64) * xxd-9.2.725-1.hum1 (aarch64, x86_64) * vim-9.2.725-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. When opening a specially crafted encrypted file using the VimCrypt~04! or VimCrypt~05! methods, an attacker could trigger an unsigned length calculation error. This issue leads to an out-of-bounds read, causing Vim to crash and resulting in a denial of service.

CWE-125 - Out-of-bounds Read
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

A memory corruption flaw in Vim allows an attacker to cause a Denial of Service (DoS). When a SOFO-based spell language is active, providing an excessively long word to the spell checker triggers a stack out-of-bounds write in the spell_soundfold_sofo() function, causing the editor to crash.

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

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "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.725-1.hum1 (aarch64, x86_64)\n  * vim-common-9.2.725-1.hum1 (aarch64, x86_64)\n  * vim-data-9.2.725-1.hum1 (noarch)\n  * vim-default-editor-9.2.725-1.hum1 (noarch)\n  * vim-enhanced-9.2.725-1.hum1 (aarch64, x86_64)\n  * vim-filesystem-9.2.725-1.hum1 (noarch)\n  * vim-minimal-9.2.725-1.hum1 (aarch64, x86_64)\n  * xxd-9.2.725-1.hum1 (aarch64, x86_64)\n  * vim-9.2.725-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:30267",
        "url": "https://access.redhat.com/errata/RHSA-2026:30267"
      },
      {
        "category": "external",
        "summary": "https://images.redhat.com/",
        "url": "https://images.redhat.com/"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-55693",
        "url": "https://access.redhat.com/security/cve/CVE-2026-55693"
      },
      {
        "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-57455",
        "url": "https://access.redhat.com/security/cve/CVE-2026-57455"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/cve/CVE-2026-57452",
        "url": "https://access.redhat.com/security/cve/CVE-2026-57452"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30267.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update",
    "tracking": {
      "current_release_date": "2026-07-01T19:41:06+00:00",
      "generator": {
        "date": "2026-07-01T19:41:06+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.3.1"
        }
      },
      "id": "RHSA-2026:30267",
      "initial_release_date": "2026-06-26T09:46:19+00:00",
      "revision_history": [
        {
          "date": "2026-06-26T09:46:19+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-07-01T17:27:24+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-07-01T19:41:06+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.725-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.725-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.725-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.725-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-57452",
      "cwe": {
        "id": "CWE-125",
        "name": "Out-of-bounds Read"
      },
      "discovery_date": "2026-06-25T16:02:14.943134+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2492979"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in Vim, an open source command-line text editor. When opening a specially crafted encrypted file using the VimCrypt~04! or VimCrypt~05! methods, an attacker could trigger an unsigned length calculation error. This issue leads to an out-of-bounds read, causing Vim to crash and resulting in a denial of service.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "vim: Vim: Out-of-bounds Read with libsodium-encrypted Files",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This Moderate impact vulnerability in Vim arises from an out-of-bounds read when processing a specially crafted libsodium-encrypted file. If a user opens a malicious file encrypted with VimCrypt~04! or VimCrypt~05! and the file body is shorter than a single libsodium secretstream header, Vim may crash. This issue requires user interaction to open a malformed file and the +sodium feature to be enabled, limiting its exploitability in typical Red Hat environments.",
          "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-57452"
        },
        {
          "category": "external",
          "summary": "RHBZ#2492979",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2492979"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-57452",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-57452"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-57452",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57452"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f",
          "url": "https://github.com/vim/vim/commit/c8777cec25dcfae89c42e9aff51af61f71c5745f"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/releases/tag/v9.2.0671",
          "url": "https://github.com/vim/vim/releases/tag/v9.2.0671"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486",
          "url": "https://github.com/vim/vim/security/advisories/GHSA-c4j9-wr9j-4486"
        }
      ],
      "release_date": "2026-06-25T15:27:50.147000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-06-26T09:46:19+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:30267"
        },
        {
          "category": "workaround",
          "details": "Ensure the spell checker is turned off by running :set nospell within Vim. Do not open untrusted or suspicious files\u2014particularly those encrypted with libsodium methods (VimCrypt~04! or VimCrypt~05!)\u2014within the Vim editor. This prevents the execution of the vulnerable decryption routine",
          "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": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/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: Out-of-bounds Read with libsodium-encrypted Files"
    },
    {
      "cve": "CVE-2026-57455",
      "cwe": {
        "id": "CWE-787",
        "name": "Out-of-bounds Write"
      },
      "discovery_date": "2026-06-25T16:01:18.343208+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2492968"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A memory corruption flaw in Vim allows an attacker to cause a Denial of Service (DoS). When a SOFO-based spell language is active, providing an excessively long word to the spell checker triggers a stack out-of-bounds write in the spell_soundfold_sofo() function, causing the editor to crash.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "vim: Vim: Denial of Service via stack out-of-bounds write in spell_soundfold_sofo()",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This Moderate impact flaw in Vim, a command-line text editor, is due to a stack out-of-bounds write in the spell checker. Exploitation requires a user to open a specially crafted file or encounter a long word via spell suggestion while a SOFO-based spell language is active, leading to a Denial of Service. This is not a default configuration in most Red Hat environments, limiting the attack surface.",
          "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-57455"
        },
        {
          "category": "external",
          "summary": "RHBZ#2492968",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2492968"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-57455",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-57455"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-57455",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57455"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/commit/497f931f85339d175d7f69588dd249e8ccfed41b",
          "url": "https://github.com/vim/vim/commit/497f931f85339d175d7f69588dd249e8ccfed41b"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/releases/tag/v9.2.0698",
          "url": "https://github.com/vim/vim/releases/tag/v9.2.0698"
        },
        {
          "category": "external",
          "summary": "https://github.com/vim/vim/security/advisories/GHSA-q8mh-6qm3-25g4",
          "url": "https://github.com/vim/vim/security/advisories/GHSA-q8mh-6qm3-25g4"
        }
      ],
      "release_date": "2026-06-25T15:22:37.949000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-06-26T09:46:19+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:30267"
        },
        {
          "category": "workaround",
          "details": "To mitigate this issue disable spell checking or avoid using SOFO-based spell files. This can be achieved globally by adding set nospell to your ~/.vimrc configuration file. Ensure your systems utilize standard UTF-8 encoding. This flaw is strictly confined to legacy 8-bit encodings and cannot be triggered under default Red Hat configurations.",
          "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": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:H/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 stack out-of-bounds write in spell_soundfold_sofo()"
    }
  ]
}


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…