[arch-security] [ASA-201702-12] gvim: arbitrary code execution

Levente Polyak anthraxx at archlinux.org
Wed Feb 15 16:44:55 UTC 2017


Arch Linux Security Advisory ASA-201702-12
==========================================

Severity: Medium
Date    : 2017-02-15
CVE-ID  : CVE-2017-5953
Package : gvim
Type    : arbitrary code execution
Remote  : No
Link    : https://security.archlinux.org/AVG-174

Summary
=======

The package gvim before version 8.0.0322-1 is vulnerable to arbitrary
code execution.

Resolution
==========

Upgrade to 8.0.0322-1.

# pacman -Syu "gvim>=8.0.0322-1"

The problem has been fixed upstream in version 8.0.0322.

Workaround
==========

None.

Description
===========

It was found that vim does not properly validate values for tree length
when handling a spell file, which may result in an integer overflow at
a memory allocation site and a resultant buffer overflow.

Impact
======

An attacker is able to execute arbitrary code on the affected host by
tricking a user to use a specially crafted spell file.

References
==========

https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
https://groups.google.com/forum/#%21topic/vim_dev/t-3RSdEnrHY
https://security.archlinux.org/CVE-2017-5953

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20170215/8e750e4f/attachment.asc>


More information about the arch-security mailing list