USN-6557-1: Vim vulnerabilities

Published Dec 14, 2023
·
Updated

It was discovered that Vim could be made to dereference invalid memory. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1725) It was discovered that Vim could be made to recurse infinitely. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1771) It was discovered that Vim could be made to write out of bounds with a put command. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1886) It was discovered that Vim could be made to write out of bounds. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-1897, CVE-2022-2000) It was discovered that Vim did not properly manage memory in the spell command. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2042) It was discovered that Vim did not properly manage memory. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2023-46246, CVE-2023-48231) It was discovered that Vim could be made to divide by zero. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 23.04 and Ubuntu 23.10. (CVE-2023-48232) It was discovered that Vim contained multiple arithmetic overflows. An attacker could possibly use these issues to cause a denial of service. (CVE-2023-48233, CVE-2023-48234, CVE-2023-48235, CVE-2023-48236, CVE-2023-48237) It was discovered that Vim did not properly manage memory in the substitute command. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 22.04 LTS, Ubuntu 23.04, and Ubuntu 23.10. (CVE-2023-48706)

Affected Software

88 affected componentsFixes available
All of the following
ubuntu/vim<2:9.0.1672-1ubuntu2.2
2:9.0.1672-1ubuntu2.2
Ubuntu Ubuntu=23.10
All of the following
ubuntu/vim-athena<2:9.0.1672-1ubuntu2.2
2:9.0.1672-1ubuntu2.2
Ubuntu Ubuntu=23.10
All of the following
ubuntu/vim-gtk3<2:9.0.1672-1ubuntu2.2
2:9.0.1672-1ubuntu2.2
Ubuntu Ubuntu=23.10
All of the following
ubuntu/vim-nox<2:9.0.1672-1ubuntu2.2
2:9.0.1672-1ubuntu2.2
Ubuntu Ubuntu=23.10
All of the following
ubuntu/vim-tiny<2:9.0.1672-1ubuntu2.2
2:9.0.1672-1ubuntu2.2
Ubuntu Ubuntu=23.10
All of the following
ubuntu/xxd<2:9.0.1672-1ubuntu2.2
2:9.0.1672-1ubuntu2.2
Ubuntu Ubuntu=23.10
All of the following
ubuntu/vim<2:9.0.1000-4ubuntu3.3
2:9.0.1000-4ubuntu3.3
Ubuntu Ubuntu=23.04
All of the following
ubuntu/vim-athena<2:9.0.1000-4ubuntu3.3
2:9.0.1000-4ubuntu3.3
Ubuntu Ubuntu=23.04
All of the following
ubuntu/vim-gtk3<2:9.0.1000-4ubuntu3.3
2:9.0.1000-4ubuntu3.3
Ubuntu Ubuntu=23.04
All of the following
ubuntu/vim-nox<2:9.0.1000-4ubuntu3.3
2:9.0.1000-4ubuntu3.3
Ubuntu Ubuntu=23.04
All of the following
ubuntu/vim-tiny<2:9.0.1000-4ubuntu3.3
2:9.0.1000-4ubuntu3.3
Ubuntu Ubuntu=23.04
All of the following
ubuntu/xxd<2:9.0.1000-4ubuntu3.3
2:9.0.1000-4ubuntu3.3
Ubuntu Ubuntu=23.04
All of the following
ubuntu/vim<2:8.2.3995-1ubuntu2.15
2:8.2.3995-1ubuntu2.15
Ubuntu Ubuntu=22.04
All of the following
ubuntu/vim-athena<2:8.2.3995-1ubuntu2.15
2:8.2.3995-1ubuntu2.15
Ubuntu Ubuntu=22.04
All of the following
ubuntu/vim-gtk<2:8.2.3995-1ubuntu2.15
2:8.2.3995-1ubuntu2.15
Ubuntu Ubuntu=22.04
All of the following
ubuntu/vim-gtk3<2:8.2.3995-1ubuntu2.15
2:8.2.3995-1ubuntu2.15
Ubuntu Ubuntu=22.04
All of the following
ubuntu/vim-nox<2:8.2.3995-1ubuntu2.15
2:8.2.3995-1ubuntu2.15
Ubuntu Ubuntu=22.04
All of the following
ubuntu/vim-tiny<2:8.2.3995-1ubuntu2.15
2:8.2.3995-1ubuntu2.15
Ubuntu Ubuntu=22.04
All of the following
ubuntu/xxd<2:8.2.3995-1ubuntu2.15
2:8.2.3995-1ubuntu2.15
Ubuntu Ubuntu=22.04
All of the following
ubuntu/vim<2:8.1.2269-1ubuntu5.21
2:8.1.2269-1ubuntu5.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/vim-athena<2:8.1.2269-1ubuntu5.21
2:8.1.2269-1ubuntu5.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/vim-gtk<2:8.1.2269-1ubuntu5.21
2:8.1.2269-1ubuntu5.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/vim-gtk3<2:8.1.2269-1ubuntu5.21
2:8.1.2269-1ubuntu5.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/vim-nox<2:8.1.2269-1ubuntu5.21
2:8.1.2269-1ubuntu5.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/vim-tiny<2:8.1.2269-1ubuntu5.21
2:8.1.2269-1ubuntu5.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/xxd<2:8.1.2269-1ubuntu5.21
2:8.1.2269-1ubuntu5.21
Ubuntu Ubuntu=20.04
All of the following
ubuntu/vim<2:8.0.1453-1ubuntu1.13+esm7
2:8.0.1453-1ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/vim-athena<2:8.0.1453-1ubuntu1.13+esm7
2:8.0.1453-1ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/vim-gtk<2:8.0.1453-1ubuntu1.13+esm7
2:8.0.1453-1ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/vim-gtk3<2:8.0.1453-1ubuntu1.13+esm7
2:8.0.1453-1ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/vim-nox<2:8.0.1453-1ubuntu1.13+esm7
2:8.0.1453-1ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/vim-tiny<2:8.0.1453-1ubuntu1.13+esm7
2:8.0.1453-1ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/xxd<2:8.0.1453-1ubuntu1.13+esm7
2:8.0.1453-1ubuntu1.13+esm7
Ubuntu Ubuntu=18.04
All of the following
ubuntu/vim<2:7.4.1689-3ubuntu1.5+esm22
2:7.4.1689-3ubuntu1.5+esm22
Ubuntu Ubuntu=16.04
All of the following
ubuntu/vim-athena<2:7.4.1689-3ubuntu1.5+esm22
2:7.4.1689-3ubuntu1.5+esm22
Ubuntu Ubuntu=16.04
All of the following
ubuntu/vim-gtk<2:7.4.1689-3ubuntu1.5+esm22
2:7.4.1689-3ubuntu1.5+esm22
Ubuntu Ubuntu=16.04
All of the following
ubuntu/vim-gtk3<2:7.4.1689-3ubuntu1.5+esm22
2:7.4.1689-3ubuntu1.5+esm22
Ubuntu Ubuntu=16.04
All of the following
ubuntu/vim-nox<2:7.4.1689-3ubuntu1.5+esm22
2:7.4.1689-3ubuntu1.5+esm22
Ubuntu Ubuntu=16.04
All of the following
ubuntu/vim-tiny<2:7.4.1689-3ubuntu1.5+esm22
2:7.4.1689-3ubuntu1.5+esm22
Ubuntu Ubuntu=16.04
All of the following
ubuntu/vim<2:7.4.052-1ubuntu3.1+esm15
2:7.4.052-1ubuntu3.1+esm15
Ubuntu Ubuntu=14.04
All of the following
ubuntu/vim-athena<2:7.4.052-1ubuntu3.1+esm15
2:7.4.052-1ubuntu3.1+esm15
Ubuntu Ubuntu=14.04
All of the following
ubuntu/vim-gtk<2:7.4.052-1ubuntu3.1+esm15
2:7.4.052-1ubuntu3.1+esm15
Ubuntu Ubuntu=14.04
All of the following
ubuntu/vim-nox<2:7.4.052-1ubuntu3.1+esm15
2:7.4.052-1ubuntu3.1+esm15
Ubuntu Ubuntu=14.04
All of the following
ubuntu/vim-tiny<2:7.4.052-1ubuntu3.1+esm15
2:7.4.052-1ubuntu3.1+esm15
Ubuntu Ubuntu=14.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:9.0.1672-1ubuntu2.2
  2. Upgrade

    Upgrade ubuntu/vim-athena to a version that resolves this vulnerability.

    Fixed in 2:9.0.1672-1ubuntu2.2
  3. Upgrade

    Upgrade ubuntu/vim-gtk3 to a version that resolves this vulnerability.

    Fixed in 2:9.0.1672-1ubuntu2.2
  4. Upgrade

    Upgrade ubuntu/vim-nox to a version that resolves this vulnerability.

    Fixed in 2:9.0.1672-1ubuntu2.2
  5. Upgrade

    Upgrade ubuntu/vim-tiny to a version that resolves this vulnerability.

    Fixed in 2:9.0.1672-1ubuntu2.2
  6. Upgrade

    Upgrade ubuntu/xxd to a version that resolves this vulnerability.

    Fixed in 2:9.0.1672-1ubuntu2.2
  7. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:9.0.1000-4ubuntu3.3
  8. Upgrade

    Upgrade ubuntu/vim-athena to a version that resolves this vulnerability.

    Fixed in 2:9.0.1000-4ubuntu3.3
  9. Upgrade

    Upgrade ubuntu/vim-gtk3 to a version that resolves this vulnerability.

    Fixed in 2:9.0.1000-4ubuntu3.3
  10. Upgrade

    Upgrade ubuntu/vim-nox to a version that resolves this vulnerability.

    Fixed in 2:9.0.1000-4ubuntu3.3
  11. Upgrade

    Upgrade ubuntu/vim-tiny to a version that resolves this vulnerability.

    Fixed in 2:9.0.1000-4ubuntu3.3
  12. Upgrade

    Upgrade ubuntu/xxd to a version that resolves this vulnerability.

    Fixed in 2:9.0.1000-4ubuntu3.3
  13. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.15
  14. Upgrade

    Upgrade ubuntu/vim-athena to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.15
  15. Upgrade

    Upgrade ubuntu/vim-gtk to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.15
  16. Upgrade

    Upgrade ubuntu/vim-gtk3 to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.15
  17. Upgrade

    Upgrade ubuntu/vim-nox to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.15
  18. Upgrade

    Upgrade ubuntu/vim-tiny to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.15
  19. Upgrade

    Upgrade ubuntu/xxd to a version that resolves this vulnerability.

    Fixed in 2:8.2.3995-1ubuntu2.15
  20. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.21
  21. Upgrade

    Upgrade ubuntu/vim-athena to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.21
  22. Upgrade

    Upgrade ubuntu/vim-gtk to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.21
  23. Upgrade

    Upgrade ubuntu/vim-gtk3 to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.21
  24. Upgrade

    Upgrade ubuntu/vim-nox to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.21
  25. Upgrade

    Upgrade ubuntu/vim-tiny to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.21
  26. Upgrade

    Upgrade ubuntu/xxd to a version that resolves this vulnerability.

    Fixed in 2:8.1.2269-1ubuntu5.21
  27. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm7
  28. Upgrade

    Upgrade ubuntu/vim-athena to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm7
  29. Upgrade

    Upgrade ubuntu/vim-gtk to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm7
  30. Upgrade

    Upgrade ubuntu/vim-gtk3 to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm7
  31. Upgrade

    Upgrade ubuntu/vim-nox to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm7
  32. Upgrade

    Upgrade ubuntu/vim-tiny to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm7
  33. Upgrade

    Upgrade ubuntu/xxd to a version that resolves this vulnerability.

    Fixed in 2:8.0.1453-1ubuntu1.13+esm7
  34. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:7.4.1689-3ubuntu1.5+esm22
  35. Upgrade

    Upgrade ubuntu/vim-athena to a version that resolves this vulnerability.

    Fixed in 2:7.4.1689-3ubuntu1.5+esm22
  36. Upgrade

    Upgrade ubuntu/vim-gtk to a version that resolves this vulnerability.

    Fixed in 2:7.4.1689-3ubuntu1.5+esm22
  37. Upgrade

    Upgrade ubuntu/vim-gtk3 to a version that resolves this vulnerability.

    Fixed in 2:7.4.1689-3ubuntu1.5+esm22
  38. Upgrade

    Upgrade ubuntu/vim-nox to a version that resolves this vulnerability.

    Fixed in 2:7.4.1689-3ubuntu1.5+esm22
  39. Upgrade

    Upgrade ubuntu/vim-tiny to a version that resolves this vulnerability.

    Fixed in 2:7.4.1689-3ubuntu1.5+esm22
  40. Upgrade

    Upgrade ubuntu/vim to a version that resolves this vulnerability.

    Fixed in 2:7.4.052-1ubuntu3.1+esm15
  41. Upgrade

    Upgrade ubuntu/vim-athena to a version that resolves this vulnerability.

    Fixed in 2:7.4.052-1ubuntu3.1+esm15
  42. Upgrade

    Upgrade ubuntu/vim-gtk to a version that resolves this vulnerability.

    Fixed in 2:7.4.052-1ubuntu3.1+esm15
  43. Upgrade

    Upgrade ubuntu/vim-nox to a version that resolves this vulnerability.

    Fixed in 2:7.4.052-1ubuntu3.1+esm15
  44. Upgrade

    Upgrade ubuntu/vim-tiny to a version that resolves this vulnerability.

    Fixed in 2:7.4.052-1ubuntu3.1+esm15

Event History

Dec 14, 2023
Advisory Published
via Ubuntu·12:00 AM

Frequently Asked Questions

1

What is the severity of USN-6557-1?

USN-6557-1 is classified as a potential denial of service vulnerability affecting Vim.

2

How do I fix USN-6557-1?

To fix USN-6557-1, upgrade Vim to version 2:9.0.1672-1ubuntu2.2 or higher on affected Ubuntu versions.

3

Which Ubuntu versions are affected by USN-6557-1?

USN-6557-1 affects Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS.

4

What software packages are impacted by USN-6557-1?

Vim, vim-athena, vim-gtk3, and other related packages are impacted by USN-6557-1.

5

Is there a workaround for USN-6557-1?

There are no specific workarounds for USN-6557-1; upgrading to the patched version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203