Skip to content
OpenAdvisories
Medium ALAS2023-2025-1138 2 CVEs

Moderate: vim security update (Amazon Linux 2023)

Published Aug 5, 2025 · Updated Aug 18, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-53906: Vim is an open source, command line text editor. Prior to version 9.1.1551, a path traversal issue in Vim's zip.vim plugin can allow overwriting of arbitrary files when opening specially crafted zip archives. Impact is low because this exploit requires direct user interaction. However, successfully exploitation can lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process editing the archive. The victim must edit such a file using Vim which will reveal the filename and the file content, a careful user may suspect some strange things going on. Successful exploitation could results in the ability to execute arbitrary commands on the underlying operating system. Version 9.1.1551 contains a patch for the vulnerability. CVE-2025-53905: Vim is an open source, command line text editor. Prior to version 9.1.1552, a path traversal issue in Vim's tar.vim plugin can allow overwriting of arbitrary files when opening specially crafted tar archives. Impact is low because this exploit requires direct user interaction. However, successfully exploitation can lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process editing the archive. The victim must edit such a file using Vim which will reveal the filename and the file content, a careful user may suspect some strange things going on. Successful exploitation could results in the ability to execute arbitrary commands on the underlying operating system. Version 9.1.1552 contains a patch for the vulnerability.

Fixed packages 12

ReleasePackageFixed in
Amazon Linux · 2023 vim-common 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-data 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-debuginfo 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-debugsource 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-default-editor 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-enhanced 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-enhanced-debuginfo 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-filesystem 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-minimal 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 vim-minimal-debuginfo 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 xxd 2:9.1.1591-1.amzn2023.0.1
Amazon Linux · 2023 xxd-debuginfo 2:9.1.1591-1.amzn2023.0.1

Vulnerabilities 2

  • Medium 4.1

    Vim has path traversial issue with tar.vim and special crafted tar files

    Vim is an open source, command line text editor. Prior to version 9.1.1552, a path traversal issue in Vim’s tar.vim plugin can allow overwriting of arbitrary files when opening specially crafted tar archives. Impact is low because this exploit requires direct…

  • Medium 4.1

    Vim has path traversal issue with zip.vim and special crafted zip archives

    Vim is an open source, command line text editor. Prior to version 9.1.1551, a path traversal issue in Vim’s zip.vim plugin can allow overwriting of arbitrary files when opening specially crafted zip archives. Impact is low because this exploit requires direct…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-53905.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-53906.html