OESA-2026-3122

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3122
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3122.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-3122
Upstream
Published
2026-07-24T11:12:00Z
Modified
2026-08-18T01:21:21Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
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.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win_execute() without escaping. A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the :! command this allows arbitrary operating-system command execution when a victim opens a crafted PHP file and invokes omni-completion. This issue is fixed in version 9.2.0736.(CVE-2026-59856)

Vim is an open source, command line text editor. Prior to 9.2.0725, the single-byte branch of spell_soundfold_sal() in src/spell.c translates a word through a spell file's SAL sound-folding rules into a caller-owned result buffer, but its result writes are guarded with reslen < MAXWLEN, allowing reslen to reach MAXWLEN before res[reslen] = NUL writes one byte past the end of the MAXWLEN-element stack buffer. A boundary-length word passed to soundfold(), or reached via sound-based spell suggestion while a SAL-based spell language is active under a non-multibyte 8-bit encoding, can corrupt the eval_soundfold() stack frame and crash the editor. This issue is fixed in version 9.2.0725.(CVE-2026-59857)

Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completion script in runtime/autoload/ccomplete.vim interpolates the typeref: or typename: extension field of a tags entry, without escaping, into a :vimgrep pattern that is run through :execute. Because :vimgrep honors the bar as a command separator, a crafted tag field can close the search pattern and append an arbitrary Ex command; opening a hostile .c file whose project tags file contains such an entry and invoking C omni-completion runs that command as the editing user. This issue is fixed in version 9.2.0735.(CVE-2026-59858)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4
vim

Package

Name
vim
Purl
pkg:rpm/openEuler/vim&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.0-53.oe2003sp4

Ecosystem specific

{
    "aarch64": [
        "vim-X11-9.0-53.oe2003sp4.aarch64.rpm",
        "vim-common-9.0-53.oe2003sp4.aarch64.rpm",
        "vim-debuginfo-9.0-53.oe2003sp4.aarch64.rpm",
        "vim-debugsource-9.0-53.oe2003sp4.aarch64.rpm",
        "vim-enhanced-9.0-53.oe2003sp4.aarch64.rpm",
        "vim-minimal-9.0-53.oe2003sp4.aarch64.rpm"
    ],
    "noarch": [
        "vim-filesystem-9.0-53.oe2003sp4.noarch.rpm"
    ],
    "src": [
        "vim-9.0-53.oe2003sp4.src.rpm"
    ],
    "x86_64": [
        "vim-X11-9.0-53.oe2003sp4.x86_64.rpm",
        "vim-common-9.0-53.oe2003sp4.x86_64.rpm",
        "vim-debuginfo-9.0-53.oe2003sp4.x86_64.rpm",
        "vim-debugsource-9.0-53.oe2003sp4.x86_64.rpm",
        "vim-enhanced-9.0-53.oe2003sp4.x86_64.rpm",
        "vim-minimal-9.0-53.oe2003sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3122.json"
openEuler:22.03-LTS-SP4
vim

Package

Name
vim
Purl
pkg:rpm/openEuler/vim&distro=openEuler-22.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.0-53.oe2203sp4

Ecosystem specific

{
    "aarch64": [
        "vim-X11-9.0-53.oe2203sp4.aarch64.rpm",
        "vim-common-9.0-53.oe2203sp4.aarch64.rpm",
        "vim-debuginfo-9.0-53.oe2203sp4.aarch64.rpm",
        "vim-debugsource-9.0-53.oe2203sp4.aarch64.rpm",
        "vim-enhanced-9.0-53.oe2203sp4.aarch64.rpm",
        "vim-minimal-9.0-53.oe2203sp4.aarch64.rpm"
    ],
    "noarch": [
        "vim-filesystem-9.0-53.oe2203sp4.noarch.rpm"
    ],
    "src": [
        "vim-9.0-53.oe2203sp4.src.rpm"
    ],
    "x86_64": [
        "vim-X11-9.0-53.oe2203sp4.x86_64.rpm",
        "vim-common-9.0-53.oe2203sp4.x86_64.rpm",
        "vim-debuginfo-9.0-53.oe2203sp4.x86_64.rpm",
        "vim-debugsource-9.0-53.oe2203sp4.x86_64.rpm",
        "vim-enhanced-9.0-53.oe2203sp4.x86_64.rpm",
        "vim-minimal-9.0-53.oe2203sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3122.json"
openEuler:24.03-LTS-SP1
vim

Package

Name
vim
Purl
pkg:rpm/openEuler/vim&distro=openEuler-24.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.0.2092-39.oe2403sp1

Ecosystem specific

{
    "aarch64": [
        "vim-X11-9.0.2092-39.oe2403sp1.aarch64.rpm",
        "vim-common-9.0.2092-39.oe2403sp1.aarch64.rpm",
        "vim-debuginfo-9.0.2092-39.oe2403sp1.aarch64.rpm",
        "vim-debugsource-9.0.2092-39.oe2403sp1.aarch64.rpm",
        "vim-enhanced-9.0.2092-39.oe2403sp1.aarch64.rpm",
        "vim-minimal-9.0.2092-39.oe2403sp1.aarch64.rpm"
    ],
    "noarch": [
        "vim-filesystem-9.0.2092-39.oe2403sp1.noarch.rpm"
    ],
    "src": [
        "vim-9.0.2092-39.oe2403sp1.src.rpm"
    ],
    "x86_64": [
        "vim-X11-9.0.2092-39.oe2403sp1.x86_64.rpm",
        "vim-common-9.0.2092-39.oe2403sp1.x86_64.rpm",
        "vim-debuginfo-9.0.2092-39.oe2403sp1.x86_64.rpm",
        "vim-debugsource-9.0.2092-39.oe2403sp1.x86_64.rpm",
        "vim-enhanced-9.0.2092-39.oe2403sp1.x86_64.rpm",
        "vim-minimal-9.0.2092-39.oe2403sp1.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3122.json"
openEuler:24.03-LTS-SP3
vim

Package

Name
vim
Purl
pkg:rpm/openEuler/vim&distro=openEuler-24.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.0.2092-39.oe2403sp3

Ecosystem specific

{
    "aarch64": [
        "vim-X11-9.0.2092-39.oe2403sp3.aarch64.rpm",
        "vim-common-9.0.2092-39.oe2403sp3.aarch64.rpm",
        "vim-debuginfo-9.0.2092-39.oe2403sp3.aarch64.rpm",
        "vim-debugsource-9.0.2092-39.oe2403sp3.aarch64.rpm",
        "vim-enhanced-9.0.2092-39.oe2403sp3.aarch64.rpm",
        "vim-minimal-9.0.2092-39.oe2403sp3.aarch64.rpm"
    ],
    "noarch": [
        "vim-filesystem-9.0.2092-39.oe2403sp3.noarch.rpm"
    ],
    "src": [
        "vim-9.0.2092-39.oe2403sp3.src.rpm"
    ],
    "x86_64": [
        "vim-X11-9.0.2092-39.oe2403sp3.x86_64.rpm",
        "vim-common-9.0.2092-39.oe2403sp3.x86_64.rpm",
        "vim-debuginfo-9.0.2092-39.oe2403sp3.x86_64.rpm",
        "vim-debugsource-9.0.2092-39.oe2403sp3.x86_64.rpm",
        "vim-enhanced-9.0.2092-39.oe2403sp3.x86_64.rpm",
        "vim-minimal-9.0.2092-39.oe2403sp3.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3122.json"
openEuler:24.03-LTS-SP4
vim

Package

Name
vim
Purl
pkg:rpm/openEuler/vim&distro=openEuler-24.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.0.2092-39.oe2403sp4

Ecosystem specific

{
    "aarch64": [
        "vim-X11-9.0.2092-39.oe2403sp4.aarch64.rpm",
        "vim-common-9.0.2092-39.oe2403sp4.aarch64.rpm",
        "vim-debuginfo-9.0.2092-39.oe2403sp4.aarch64.rpm",
        "vim-debugsource-9.0.2092-39.oe2403sp4.aarch64.rpm",
        "vim-enhanced-9.0.2092-39.oe2403sp4.aarch64.rpm",
        "vim-minimal-9.0.2092-39.oe2403sp4.aarch64.rpm"
    ],
    "noarch": [
        "vim-filesystem-9.0.2092-39.oe2403sp4.noarch.rpm"
    ],
    "src": [
        "vim-9.0.2092-39.oe2403sp4.src.rpm"
    ],
    "x86_64": [
        "vim-X11-9.0.2092-39.oe2403sp4.x86_64.rpm",
        "vim-common-9.0.2092-39.oe2403sp4.x86_64.rpm",
        "vim-debuginfo-9.0.2092-39.oe2403sp4.x86_64.rpm",
        "vim-debugsource-9.0.2092-39.oe2403sp4.x86_64.rpm",
        "vim-enhanced-9.0.2092-39.oe2403sp4.x86_64.rpm",
        "vim-minimal-9.0.2092-39.oe2403sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3122.json"