Unbounded Read Vulnerabilities in libgphoto2 Camera Control Library
CVE-2026-40333
6.1MEDIUM
What is CVE-2026-40333?
The libgphoto2 library, responsible for camera access and control, contains a vulnerability related to unbounded read operations in its ptp2 implementation. Specifically, certain functions do not validate the size of the data being read, allowing potential exploitation through crafted input. This oversight can lead to memory corruption issues, particularly in the functions related to processing EOS events. A patch has been introduced to address this vulnerability, emphasizing the importance of incorporating length parameters for effective boundary validation.
Affected Version(s)
libgphoto2 <= 2.5.33
