fix(vim): batch fix CVEs for 2026-06#24
Open
hudeng-go wants to merge 8 commits into
Open
Conversation
Fix code injection in netrw NetrwBookHistSave function by replacing string-based concatenation with proper string() quoting to prevent injection of arbitrary Vim commands through crafted directory names. Upstream: vim/vim@f08ab2f (v9.2.0495) Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
Fix code injection in cucumber filetype plugin by using Ruby's Regexp.new() with the untrusted pattern instead of evaluating arbitrary Ruby expressions from crafted feature files. Upstream: vim/vim@a65a52d (v9.2.0496) Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
Fix memory safety issues in spellfile.c by adding recursion limits, length checks, and proper memory allocation to prevent stack overflow and other memory safety issues. Upstream: vim/vim@25e4e46 (v9.2.0513) Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
Fix possible code execution with python3complete by disabling execution of import/from statements that could be injected through crafted Python files. Upstream: vim/vim@4b85045 (v9.2.0561) Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
Fix possible code execution with python complete by stripping default expressions and annotations from generated source for pythoncomplete and python3complete to prevent injection of arbitrary code. Upstream: vim/vim@c8c6367 (v9.2.0597) Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
Fix out-of-bounds read in update_snapshot() when a terminal cell fills all VTERM_MAX_CHARS_PER_CELL slots by bounding the loop with i < VTERM_MAX_CHARS_PER_CELL. Upstream: vim/vim@63680c6 (v9.2.0565) Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
Fix shellescape() calls in getscript, vimball and rust plugins by passing 1 as second argument for :! command context to prevent potential command injection through crafted filenames. Upstream: vim/vim@1294861 Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
Fix buffer overflow in ccfilter.c by replacing unbounded strcat()/ strcpy() calls with snprintf() bounded by LINELENGTH to prevent overflow from very long diagnostic output. Upstream: vim/vim@403ba30 Generated-By: deepseek-v4-flash Co-Authored-By: hudeng <hudeng@deepin.org>
|
TAG Bot TAG: 2%9.2.0461-1deepin2 |
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
|
/hold |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Security fixes for vim package
This PR fixes multiple CVEs and security issues found in vim.
CVE Fixes (one commit per CVE)
Additional Security Patches
All patches are created as quilt patches with fuzz=0 and follow the Debian packaging format.