dhcpcd projectのdhcpcdにおける解放済みメモリの使用に関する脆弱性
| Title |
dhcpcd projectのdhcpcdにおける解放済みメモリの使用に関する脆弱性
|
| Summary |
dhcpcd 10.3.2までのバージョン(コミット78ea09eで修正済み)には、src/control.c内の制御ソケット処理にヒープの使用後解放(use-after-free)脆弱性が存在します。この脆弱性により、権限分離が無効化されている環境で、ローカルの権限のない攻撃者がメモリ破壊を引き起こす可能性があります。攻撃者は制御ソケットに接続し、-xのような特権コマンドを送信することで、control_recvdata()がクライアントオブジェクトを解放した後に、同じREAD+HANGUPイベントが制御ハングアップ処理control_hangup()に古いポインタで到達し、use-after-free状態を引き起こします。この脆弱性は、--disable-privsepオプションを使用している場合や、privsep初期化に失敗し、制御ソケットがモード0666で動作している環境で悪用可能です。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
June 23, 2026, midnight |
| Registration Date |
June 29, 2026, 11:06 a.m. |
| Last Update |
June 29, 2026, 11:06 a.m. |
|
CVSS3.0 : 警告
|
| Score |
5.5
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected System
| dhcpcd project |
|
dhcpcd 10.3.2 およびそれ以前
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月29日] 掲載 |
June 29, 2026, 11:06 a.m. |
NVD Vulnerability Information
CVE-2026-56117
| Summary |
dhcpcd through 10.3.2, fixed in commit 78ea09e, contains a heap use-after-free vulnerability in the control socket handling within src/control.c that allows local unprivileged attackers to trigger memory corruption when privilege separation is disabled. Attackers can connect to the control socket and send a privileged command such as -x, causing control_recvdata() to free the client object while the same READ+HANGUP event subsequently reaches control_hangup() with the stale pointer, resulting in a use-after-free condition exploitable in deployments using --disable-privsep or where privsep initialization has failed with the control socket operating in mode 0666.
|
| Publication Date |
June 24, 2026, 2:17 a.m. |
| Registration Date |
June 27, 2026, 4:14 a.m. |
| Last Update |
June 28, 2026, 9:26 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:dhcpcd_project:dhcpcd:*:*:*:*:*:*:*:* |
|
10.3.2 |
|
|
Related information, measures and tools
Common Vulnerabilities List