Skip to content

fix(cve): CVE-2026-59844 - sftpserver: Check SSH_FXP_READ length to prevent DoS - #9

Merged
Zeno-sole merged 10 commits into
masterfrom
fix-cve/CVE-2026-59844
Jul 27, 2026
Merged

fix(cve): CVE-2026-59844 - sftpserver: Check SSH_FXP_READ length to prevent DoS#9
Zeno-sole merged 10 commits into
masterfrom
fix-cve/CVE-2026-59844

Conversation

@deepin-ci-robot

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

Copy link
Copy Markdown
Contributor

CVE: CVE-2026-59844 (medium) - 远程认证攻击者可以发送任意长度的 SSH_FXP_READ 请求(最高 4 GiB),导致 libssh SFTP 服务器分配过多内存
Upstream: https://www.libssh.org/files/0.11/libssh-0.11.5.tar.xz

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b


CVE: CVE-2026-59847 (medium) - Fix symmetric issue during encryption and tag verification of AES-GCM ciphers
Upstream: https://git.libssh.org/projects/libssh/commit/06c6082df966ef69db19387cf2064fa053fca1ed

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b


CVE: CVE-2026-59848 (medium) - This adds a new field to sftp_session_struct, containing a list of outstanding request IDs. An ID is added to the list when a request is constructed and removed when the corresponding request is received. If a client receives a response with an unknown request ID, it reports an error. Storing responses with unknown request IDs in the response queue could be abused by a malicious SFTP server which could deplete client memory this way.
Upstream: https://gitlab.com/libssh/libssh-mirror/commit/26147eb4767937c797f97ff3b1b1663384232417

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b


CVE: CVE-2026-15370 (medium) - A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled filenames, sufficiently long names can overflow that stack buffer and may lead to ...
Upstream: https://gitlab.com/libssh/libssh-mirror/-/commit/b2065f71c905d347b5e8dd7f8e24856807d71e99

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b


CVE: CVE-2026-59845 (medium) - CVE-2026-59845 socket: Properly check fork() return code
Upstream: https://git.libssh.org/projects/libssh/commit/92b6fb9c5e2d1606e8f809fd884ab6dd4d3b7d45

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b


CVE: CVE-2026-59850 (medium) - CVE-2026-59850: channels: Avoid processing DATA packets on closed channels
Upstream: https://git.libssh.org/projects/libssh/commit/6edfb52b3b364577d2db0334c0514a977efceed2

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b


CVE: CVE-2026-59849 (low) - 认证过程中证书迭代器在失败时未正确移动,可能导致无限循环
Upstream: https://gitlab.com/libssh/libssh-mirror/-/commit/1e8f1c397019ca5a60e2c4b6d3e6869672436165

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b


CVE: CVE-2026-59846 (low) - 当攻击者可以在用户名中插入美元符号或反斜杠时,可能导致打印包含秘密的环境变量。这是 CVE-2023-6004 的补充修复。
Upstream: https://git.libssh.org/projects/libssh.git/commit/56ce3c193eb06af5bf3b07ec0b4c7308b5c72130

Co-authored-by: hudeng hudeng@deepin.org
Generated-By: qwen3.6-35b

…revent DoS

CVE: CVE-2026-59844 (medium) - 远程认证攻击者可以发送任意长度的 SSH_FXP_READ 请求(最高 4 GiB),导致 libssh SFTP 服务器分配过多内存
Upstream: https://www.libssh.org/files/0.11/libssh-0.11.5.tar.xz

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

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

@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 tsic404 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

@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown

TAG Bot

TAG: 0.11.3-1deepin13
EXISTED: no
DISTRIBUTION: unstable

deepin-ci-robot and others added 9 commits July 27, 2026 12:25
…sue during encryption

CVE: CVE-2026-59847 (medium) - Fix symmetric issue during encryption and tag verification of AES-GCM ciphers
Upstream: https://git.libssh.org/projects/libssh/commit/06c6082df966ef69db19387cf2064fa053fca1ed

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
… unknown request IDs

CVE: CVE-2026-59848 (medium) - This adds a new field to sftp_session_struct, containing a list of outstanding request IDs. An ID is added to the list when a request is constructed and removed when the corresponding request is received. If a client receives a response with an unknown request ID, it reports an error. Storing responses with unknown request IDs in the response queue could be abused by a malicious SFTP server which could deplete client memory this way.
Upstream: https://gitlab.com/libssh/libssh-mirror/commit/26147eb4767937c797f97ff3b1b1663384232417

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
…|cpy)

CVE: CVE-2026-15370 (medium) - A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled filenames, sufficiently long names can overflow that stack buffer and may lead to ...
Upstream: https://gitlab.com/libssh/libssh-mirror/-/commit/b2065f71c905d347b5e8dd7f8e24856807d71e99

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
…() return code

CVE: CVE-2026-59845 (medium) - CVE-2026-59845 socket: Properly check fork() return code
Upstream: https://git.libssh.org/projects/libssh/commit/92b6fb9c5e2d1606e8f809fd884ab6dd4d3b7d45

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
…DATA packets on closed channel

CVE: CVE-2026-59850 (medium) - CVE-2026-59850: channels: Avoid processing DATA packets on closed channels
Upstream: https://git.libssh.org/projects/libssh/commit/6edfb52b3b364577d2db0334c0514a977efceed2

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
…aovid infinite loop

CVE: CVE-2026-59849 (low) - 认证过程中证书迭代器在失败时未正确移动,可能导致无限循环
Upstream: https://gitlab.com/libssh/libssh-mirror/-/commit/1e8f1c397019ca5a60e2c4b6d3e6869672436165

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
…from usernames

CVE: CVE-2026-59846 (low) - 当攻击者可以在用户名中插入美元符号或反斜杠时,可能导致打印包含秘密的环境变量。这是 CVE-2023-6004 的补充修复。
Upstream: https://git.libssh.org/projects/libssh.git/commit/56ce3c193eb06af5bf3b07ec0b4c7308b5c72130

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
@Zeno-sole

Copy link
Copy Markdown

/integrate

@github-actions

Copy link
Copy Markdown

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

@Zeno-sole
Zeno-sole merged commit 16c3cda into master Jul 27, 2026
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants