Skip to content

fix(vim): CVE-2026-57456 - #27

Open
deepin-ci-robot wants to merge 1 commit into
masterfrom
fix/CVE-2026-57456
Open

fix(vim): CVE-2026-57456#27
deepin-ci-robot wants to merge 1 commit into
masterfrom
fix/CVE-2026-57456

Conversation

@deepin-ci-robot

@deepin-ci-robot deepin-ci-robot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

CVE 修复

CVE ID: CVE-2026-57456

漏洞描述: Vim's Python omni-completion reconstructs function and class definitions from the buffer using exec(), and docstrings were inserted verbatim between triple quotes with no escaping. A hostile buffer could break out of the triple-quoted literal and execute attacker-controlled Python during omni-completion.

修复方案: Backport upstream commit vim/vim@cce141c - Use repr() on doc strings instead of wrapping them in triple quotes.

受影响版本: All versions using python3complete.vim

当前版本: 2:9.2.0524-1deepin2

验证状态: ✅ 补丁验证通过


Fix-Approach: backport
Generated by: CVE-Fixer Agent
Co-Authored-By: hudeng hudeng@deepin.org

Fix possible arbitrary code execution via Vim's Python omni-completion.
The runtime scripts would reconstruct function and class definitions from
the buffer using exec(), and docstrings were inserted verbatim between
triple quotes with no escaping. A hostile buffer could break out of the
triple-quoted literal and execute attacker-controlled Python during
omni-completion.

Use repr() on doc strings instead of triple-quote wrapping to prevent
code injection via crafted docstrings in python3complete.vim.

Upstream: vim/vim@cce141c
CVE: CVE-2026-57456
Generated-By: deepseek-v4-flash
Co-Authored-By: hudeng <hudeng@deepin.org>
@deepin-ci-robot
deepin-ci-robot requested a review from myml July 1, 2026 06:03
@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign goldendeng for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

/hold
因为该quilt包的上游版本号变更,详情见: deepin-community/infra-settings#134

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

TAG Bot

TAG: 2%9.2.0524-1deepin2
EXISTED: no
DISTRIBUTION: unstable

@deepin-ci-robot deepin-ci-robot added cve CVE-related issues or PRs generated-by-ai and removed do-not-merge/hold labels Jul 1, 2026
@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

/integrate

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

AutoIntegrationPr Bot
auto integrate with pr url: deepin-community/Repository-Integration#4275
PrNumber: 4275
PrBranch: auto-integration-28887265532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cve CVE-related issues or PRs generated-by-ai

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant