SecurityContext

CVE-2025-24014: Vim - Buffer Overflow

  • Cve: CVE-2025-24014
  • Name: Vim - Buffer Overflow
  • Description: Vim is an open source, command line text editor. A segmentation fault was found in Vim before 9.1.1043. In silent Ex mode (-s -e), Vim typically doesn't show a screen and just operates silently in batch mode. However, it is still possible to trigger the function that handles the scrolling of a gui version of Vim by feeding some binary characters to Vim. The function that handles the scrolling however may be triggering a redraw, which will access the ScreenLines pointer, even so this variable hasn't been allocated (since there is no screen). This vulnerability is fixed in 9.1.1043.
  • Impact: Attackers can cause a denial of service or potentially execute arbitrary code by triggering a segmentation fault.
  • Remediation: Update to version 9.1.1043 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs to feed binary characters to Vim in silent Ex mode
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H
  • Epss score: 0.00277
  • Epss percentile: 0.20355
  • Assignee: [email protected]
  • Published at: 2025-01-20T23:15:07Z
  • Age in days: 673
  • Modified at: 2026-06-17T08:57:53Z
  • Patch available: yes
  • References total: 5
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-24014
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919Patch
https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955Vendor Advisory
https://security.netapp.com/advisory/ntap-20250314-0005/Third Party Advisory
http://www.openwall.com/lists/oss-security/2025/01/20/4Mailing List
http://www.openwall.com/lists/oss-security/2025/01/21/1Mailing List

Products

ProductAffectedPlatform boundSourcesUrl
vim:vim< 9.1.1043nonvd/v1/products/vim/vim
netapp:hci_compute_node_firmwareall versionsyesnvd/v1/products/netapp/hci_compute_node_firmware

Projects

RepositoryLink kindsIndexedUrl
vim/vimcommit, security_advisoryyes/v1/repositories/vim/vim

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 365
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports