OESA-2023-1885

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1885
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1885.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1885
Upstream
Published
2023-12-01T11:06:24Z
Modified
2025-08-12T05:23:29.816430Z
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. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in commit 25aabc2b which has been included in release version 9.0.2106. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48231)

Vim is an open source command line text editor. If the count after the :s command is larger than what fits into a (signed) long variable, abort with evaluetoo_large. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit ac6378773 which has been included in release version 9.0.2108. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48233)

Vim is an open source command line text editor. When getting the count for a normal mode z command, it may overflow for large counts given. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit 58f9befca1 which has been included in release version 9.0.2109. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48234)

Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an overflow. Ironically this happens in the existing overflow check, because the line number becomes negative and LONG_MAX - lnum will cause the overflow. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit 060623e which has been included in release version 9.0.2110. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48235)

Vim is an open source command line text editor. When using the z= command, the user may overflow the count with values larger than MAX_INT. Impact is low, user interaction is required and a crash may not even happen in all situations. This vulnerability has been addressed in commit 73b2d379 which has been included in release version 9.0.2111. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48236)

Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit 6bf131888 which has been included in version 9.0.2112. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48237)

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

Affected packages

openEuler:22.03-LTS / vim

Package

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

Affected ranges

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

Ecosystem specific

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