OESA-2023-1903

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1903
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1903.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1903
Upstream
Published
2023-12-08T11:06:27Z
Modified
2025-08-12T05:23:33.542342Z
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 a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a :s command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive :s call causes free-ing of memory which may later then be accessed by the initial :s command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.(CVE-2023-48706)

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

Affected packages

openEuler:22.03-LTS-SP1 / vim

Package

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

Affected ranges

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

Ecosystem specific

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