GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
oesa-2026-3027
Vulnerability from osv_openeuler
Published
2026-07-19 11:11
Modified
2026-08-06 11:11
Summary
vim security update
Details

Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Security Fix(es):

Vim is an open source, command line text editor. Prior to 9.2.0671, when Vim opens a file encrypted with the VimCrypt~04! or VimCrypt~05! method (xchacha20poly1305, requires the +sodium feature) whose body is shorter than a single libsodium secretstream header, an unsigned length calculation underflows and a subsequent decryption call reads far past the end of the input buffer, crashing Vim. This vulnerability is fixed in 9.2.0671.(CVE-2026-57452)

Vim is an open source, command line text editor. Prior to 9.2.0698, the single-byte branch of spell_soundfold_sofo() in src/spell.c translates a word through a spell file's SOFO (sound-folding) byte map into a caller-owned result buffer. Its copy loop advances the output index ri with no upper bound and terminates only on the input NUL, writing one byte per input byte into the MAXWLEN-element stack buffer the caller provides. A word longer than MAXWLEN, passed to soundfold() (or reached via sound-based spell suggestion) while a SOFO-based spell language is active, therefore writes past the end of that buffer. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0698.(CVE-2026-57455)

Vim is an open source, command line text editor. Prior to 9.2.0699, Vim's Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. When reconstructing that source, each scope's docstring is inserted verbatim between triple quotes with no escaping, so a hostile buffer can break out of the triple-quoted literal and execute attacker-controlled Python during omni-completion. This vulnerability is fixed in 9.2.0699.(CVE-2026-57456)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "vim-X11-9.0.2092-38.oe2403sp4.aarch64.rpm",
          "vim-common-9.0.2092-38.oe2403sp4.aarch64.rpm",
          "vim-debuginfo-9.0.2092-38.oe2403sp4.aarch64.rpm",
          "vim-debugsource-9.0.2092-38.oe2403sp4.aarch64.rpm",
          "vim-enhanced-9.0.2092-38.oe2403sp4.aarch64.rpm",
          "vim-minimal-9.0.2092-38.oe2403sp4.aarch64.rpm"
        ],
        "noarch": [
          "vim-filesystem-9.0.2092-38.oe2403sp4.noarch.rpm"
        ],
        "src": [
          "vim-9.0.2092-38.oe2403sp4.src.rpm"
        ],
        "x86_64": [
          "vim-X11-9.0.2092-38.oe2403sp4.x86_64.rpm",
          "vim-common-9.0.2092-38.oe2403sp4.x86_64.rpm",
          "vim-debuginfo-9.0.2092-38.oe2403sp4.x86_64.rpm",
          "vim-debugsource-9.0.2092-38.oe2403sp4.x86_64.rpm",
          "vim-enhanced-9.0.2092-38.oe2403sp4.x86_64.rpm",
          "vim-minimal-9.0.2092-38.oe2403sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP4",
        "name": "vim",
        "purl": "pkg:rpm/openEuler/vim\u0026distro=openEuler-24.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.0.2092-38.oe2403sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "vim-X11-9.0-52.oe2003sp4.aarch64.rpm",
          "vim-common-9.0-52.oe2003sp4.aarch64.rpm",
          "vim-debuginfo-9.0-52.oe2003sp4.aarch64.rpm",
          "vim-debugsource-9.0-52.oe2003sp4.aarch64.rpm",
          "vim-enhanced-9.0-52.oe2003sp4.aarch64.rpm",
          "vim-minimal-9.0-52.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "vim-filesystem-9.0-52.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "vim-9.0-52.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "vim-X11-9.0-52.oe2003sp4.x86_64.rpm",
          "vim-common-9.0-52.oe2003sp4.x86_64.rpm",
          "vim-debuginfo-9.0-52.oe2003sp4.x86_64.rpm",
          "vim-debugsource-9.0-52.oe2003sp4.x86_64.rpm",
          "vim-enhanced-9.0-52.oe2003sp4.x86_64.rpm",
          "vim-minimal-9.0-52.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "vim",
        "purl": "pkg:rpm/openEuler/vim\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.0-52.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "vim-X11-9.0-52.oe2203sp4.aarch64.rpm",
          "vim-common-9.0-52.oe2203sp4.aarch64.rpm",
          "vim-debuginfo-9.0-52.oe2203sp4.aarch64.rpm",
          "vim-debugsource-9.0-52.oe2203sp4.aarch64.rpm",
          "vim-enhanced-9.0-52.oe2203sp4.aarch64.rpm",
          "vim-minimal-9.0-52.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "vim-filesystem-9.0-52.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "vim-9.0-52.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "vim-X11-9.0-52.oe2203sp4.x86_64.rpm",
          "vim-common-9.0-52.oe2203sp4.x86_64.rpm",
          "vim-debuginfo-9.0-52.oe2203sp4.x86_64.rpm",
          "vim-debugsource-9.0-52.oe2203sp4.x86_64.rpm",
          "vim-enhanced-9.0-52.oe2203sp4.x86_64.rpm",
          "vim-minimal-9.0-52.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "vim",
        "purl": "pkg:rpm/openEuler/vim\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.0-52.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "vim-X11-9.0.2092-38.oe2403sp1.aarch64.rpm",
          "vim-common-9.0.2092-38.oe2403sp1.aarch64.rpm",
          "vim-debuginfo-9.0.2092-38.oe2403sp1.aarch64.rpm",
          "vim-debugsource-9.0.2092-38.oe2403sp1.aarch64.rpm",
          "vim-enhanced-9.0.2092-38.oe2403sp1.aarch64.rpm",
          "vim-minimal-9.0.2092-38.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "vim-filesystem-9.0.2092-38.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "vim-9.0.2092-38.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "vim-X11-9.0.2092-38.oe2403sp1.x86_64.rpm",
          "vim-common-9.0.2092-38.oe2403sp1.x86_64.rpm",
          "vim-debuginfo-9.0.2092-38.oe2403sp1.x86_64.rpm",
          "vim-debugsource-9.0.2092-38.oe2403sp1.x86_64.rpm",
          "vim-enhanced-9.0.2092-38.oe2403sp1.x86_64.rpm",
          "vim-minimal-9.0.2092-38.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "vim",
        "purl": "pkg:rpm/openEuler/vim\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.0.2092-38.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "vim-X11-9.0.2092-38.oe2403sp3.aarch64.rpm",
          "vim-common-9.0.2092-38.oe2403sp3.aarch64.rpm",
          "vim-debuginfo-9.0.2092-38.oe2403sp3.aarch64.rpm",
          "vim-debugsource-9.0.2092-38.oe2403sp3.aarch64.rpm",
          "vim-enhanced-9.0.2092-38.oe2403sp3.aarch64.rpm",
          "vim-minimal-9.0.2092-38.oe2403sp3.aarch64.rpm"
        ],
        "noarch": [
          "vim-filesystem-9.0.2092-38.oe2403sp3.noarch.rpm"
        ],
        "src": [
          "vim-9.0.2092-38.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "vim-X11-9.0.2092-38.oe2403sp3.x86_64.rpm",
          "vim-common-9.0.2092-38.oe2403sp3.x86_64.rpm",
          "vim-debuginfo-9.0.2092-38.oe2403sp3.x86_64.rpm",
          "vim-debugsource-9.0.2092-38.oe2403sp3.x86_64.rpm",
          "vim-enhanced-9.0.2092-38.oe2403sp3.x86_64.rpm",
          "vim-minimal-9.0.2092-38.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP3",
        "name": "vim",
        "purl": "pkg:rpm/openEuler/vim\u0026distro=openEuler-24.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.0.2092-38.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor \u0026amp;apos;Vi\u0026amp;apos;, with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.\r\n\r\nSecurity Fix(es):\n\nVim is an open source, command line text editor. Prior to 9.2.0671, when Vim opens a file encrypted with the VimCrypt~04! or VimCrypt~05!\nmethod (xchacha20poly1305, requires the +sodium feature) whose body is shorter than a single libsodium secretstream header, an unsigned length calculation underflows and a subsequent decryption call reads far past the end of the input buffer, crashing Vim. This vulnerability is fixed in 9.2.0671.(CVE-2026-57452)\n\nVim is an open source, command line text editor. Prior to 9.2.0698, the single-byte branch of spell_soundfold_sofo() in src/spell.c translates a word through a spell file\u0026apos;s SOFO (sound-folding) byte map into a caller-owned result buffer. Its copy loop advances the output index ri with no upper bound and terminates only on the input NUL, writing one byte per input byte into the MAXWLEN-element stack buffer the caller provides. A word longer than MAXWLEN, passed to soundfold() (or reached via sound-based spell suggestion) while a SOFO-based spell language is active, therefore writes past the end of that buffer. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0698.(CVE-2026-57455)\n\nVim is an open source, command line text editor. Prior to 9.2.0699, Vim\u0026apos;s Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. When reconstructing that source, each scope\u0026apos;s docstring is inserted verbatim between triple quotes with no escaping, so a hostile buffer can break out of the triple-quoted literal and execute attacker-controlled Python during omni-completion. This vulnerability is fixed in 9.2.0699.(CVE-2026-57456)",
  "id": "OESA-2026-3027",
  "modified": "2026-08-06T11:11:55Z",
  "published": "2026-07-19T11:11:55Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3027"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57452"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57455"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57456"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "vim security update",
  "upstream": [
    "CVE-2026-57452",
    "CVE-2026-57455",
    "CVE-2026-57456"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…