Skip to content

fix(cve): CVE-2026-18739 - Fix CVE-2026-18739: off-by-one error in poptStuffArgs() - #6

Merged
Zeno-sole merged 1 commit into
masterfrom
fix-cve/CVE-2026-18739
Nov 12, 2026
Merged

Zeno-sole merged 1 commit into
masterfrom
fix-cve/CVE-2026-18739

Conversation

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

CVE: CVE-2026-18739 (low) - poptStuffArgs() 存在 off-by-one 边界检查缺陷:递增 con->os 之前未做加一边界预检查(与 handleAlias 的做法不一致),可导致 optionStack 越界。修复方式为在比较前加 1,并新增回归测试 tstuff。
Upstream: https://github.com/rpm-software-management/popt/commit/14c42b415ba0c11640f7d4ee80920452d0287058.patch

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: deepseek-v4-flash

…ptStuffArgs()

CVE: CVE-2026-18739 (low) - poptStuffArgs() 存在 off-by-one 边界检查缺陷:递增 con->os 之前未做加一边界预检查(与 handleAlias 的做法不一致),可导致 optionStack 越界。修复方式为在比较前加 1,并新增回归测试 tstuff。
Upstream: https://github.com/rpm-software-management/popt/commit/14c42b415ba0c11640f7d4ee80920452d0287058.patch

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: deepseek-v4-flash
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

TAG Bot

TAG: 1.19+dfsg-2deepin3
EXISTED: no
DISTRIBUTION: unstable

@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Zeno-sole

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

The pull request process is described 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

@Zeno-sole
Zeno-sole merged commit 650375a into master Nov 12, 2026
5 of 8 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in sysdev-20261112 Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants