Skip to content
Medium 7.0

libgphoto2に悪意あるカメラやUSB機器からスタックバッファオーバーフローの脆弱性

CVE-2026-138158 First seen on SecPulse

Summary

libgphoto2の2.5.34までに、sierra_get_string_register()でスタックバッファオーバーフローの脆弱性が見つかりました。悪意あるsierraプロトコルのカメラやUSB機器がファイル一覧の応答で大きすぎるパケットを送ると、スタック上の小さなバッファを最大32KB越えて書き換えられ、クラッシュやコード実行につながるおそれがあります。CVSS v3は6.6、v4は7です。公表されたばかりで、修正版の情報は確認できていません。最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

libgphoto2の2.5.34までに、sierra_get_string_register()でスタックバッファオーバーフローの脆弱性が見つかりました。悪意あるsierraプロトコルのカメラやUSB機器がファイル一覧の応答で大きすぎるパケットを送ると、スタック上の小さなバッファを最大32KB越えて書き換えられ、クラッシュやコード実行につながるおそれがあります。CVSS v3は6.6、v4は7です。公表されたばかりで、修正版の情報は確認できていません。最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
gphotolibgphoto2
≤ 2.5.34→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

libgphoto2 through 2.5.34 contains a stack buffer overflow in sierra_get_string_register() that lets a malicious sierra-protocol camera or USB device overwrite stack memory. When files are listed, the device can answer the file-name register with an oversized packet, writing up to 32 KB past small stack buffers to cause crashes or possible code execution.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details