Skip to content

fix(cve): CVE-2026-5435 - resolv: More types as unknown in ns_sprintrrf (CVE-2026-5435) - #48

Merged
Zeno-sole merged 3 commits into
masterfrom
fix-cve/CVE-2026-5435
Aug 11, 2026
Merged

Zeno-sole merged 3 commits into
masterfrom
fix-cve/CVE-2026-5435

Conversation

@deepin-ci-robot

@deepin-ci-robot deepin-ci-robot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

CVE: CVE-2026-5435 (high) - glibc 中弃用的函数 ns_printrrf、ns_printrr 和 fp_nquery 在执行 TSIG 记录打印时无法强制执行调用者提供的缓冲区长度,可能导致越界写入。TSIG 情况处理中的缺陷在 ns_sprintrrf 中执行使用 sprintf 的格式化写入而不检查剩余缓冲区长度,可能会在缓冲区末尾写入多达 6 个字节。
Upstream: https://sourceware.org/git/?p=glibc.git;a=commit;h=ca44a6609c29a683b03575fa035c6d17aa591e72

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


CVE: CVE-2026-6238 (medium) - GNU C 库版本 2.0.1 到 2.43 中的已弃用函数 ns_printrrf、ns_printrr 和 fp_nquery 在处理 A6、CERT、LOC、TKEY 或 TSIG 记录时,未能验证 DNS 响应中的 RDATA 内容与 RDATA 长度的匹配,可能导致应用程序崩溃或读取未初始化内存。
Upstream: https://sourceware.org/git/?p=glibc.git;a=commit;h=a7b60d23bbb56eaef59f4962e4140062e552600a

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


CVE: CVE-2026-6791 (medium) - 当展开以波浪号 (~) 后跟用户名的路径时,内部 parse_tilde 函数提取用户名以确定用户的家目录。实现使用 strndupa 宏直接在栈上分配此用户名的内存。由于此分配的大小由用户提供的输入的长度确定,没有任何边界检查,传递过长的用户名会导致栈溢出。
Upstream: https://sourceware.org/git/?p=glibc.git;a=commit;h=dae425b554207f7c4599c7fac707ad4c08545674

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

…rf (CVE-2026-5435)

CVE: CVE-2026-5435 (high) - glibc 中弃用的函数 ns_printrrf、ns_printrr 和 fp_nquery 在执行 TSIG 记录打印时无法强制执行调用者提供的缓冲区长度,可能导致越界写入。TSIG 情况处理中的缺陷在 ns_sprintrrf 中执行使用 sprintf 的格式化写入而不检查剩余缓冲区长度,可能会在缓冲区末尾写入多达 6 个字节。
Upstream: https://sourceware.org/git/?p=glibc.git;a=commit;h=ca44a6609c29a683b03575fa035c6d17aa591e72

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
@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 utsweetyfish 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 Aug 11, 2026 •

Copy link
Copy Markdown

TAG Bot

TAG: 2.38-6deepin30
EXISTED: no
DISTRIBUTION: unstable

deepin-ci-robot and others added 2 commits August 11, 2026 10:20
CVE-2026-6238)

CVE: CVE-2026-6238 (medium) - GNU C 库版本 2.0.1 到 2.43 中的已弃用函数 ns_printrrf、ns_printrr 和 fp_nquery 在处理 A6、CERT、LOC、TKEY 或 TSIG 记录时,未能验证 DNS 响应中的 RDATA 内容与 RDATA 长度的匹配,可能导致应用程序崩溃或读取未初始化内存。
Upstream: https://sourceware.org/git/?p=glibc.git;a=commit;h=a7b60d23bbb56eaef59f4962e4140062e552600a

Co-authored-by: hudeng <hudeng@deepin.org>
Generated-By: qwen3.6-35b
…expansion (BZ 34091, CVE-2026

CVE: CVE-2026-6791 (medium) - 当展开以波浪号 (~) 后跟用户名的路径时,内部 parse_tilde 函数提取用户名以确定用户的家目录。实现使用 strndupa 宏直接在栈上分配此用户名的内存。由于此分配的大小由用户提供的输入的长度确定,没有任何边界检查,传递过长的用户名会导致栈溢出。
Upstream: https://sourceware.org/git/?p=glibc.git;a=commit;h=dae425b554207f7c4599c7fac707ad4c08545674

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

Copy link
Copy Markdown
Contributor

/integrate

@github-actions

Copy link
Copy Markdown

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

@Zeno-sole
Zeno-sole merged commit a7784b8 into master Aug 11, 2026
6 of 9 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.

2 participants