UBUNTU-CVE-2026-120451: Buffer Overflow

Published Nov 3, 2026
·
Updated

libgphoto2 through 2.5.34 contains stack-based and heap-based buffer overflow vulnerabilities in jl2005cinit() that allow malicious USB devices to corrupt memory by supplying an unbounded allocation table entry count. Attackers can connect a spoofed Jeilin JL2005B/C/D camera reporting 1022 or more entries to overwrite the saved return address and heap data, potentially achieving code execution.

Affected Software

8 affected components
ubuntu/libgphoto2*
ubuntu/libgphoto2*
ubuntu/libgphoto2*
ubuntu/libgphoto2*
ubuntu/libgphoto2*
ubuntu/libgphoto2*
ubuntu/libgphoto2*
ubuntu/libgphoto2*

Event History

Nov 3, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using libgphoto2 that communicate with a Jeilin JL2005B, JL2005C, or JL2005D camera are exposed if a malicious USB device can be connected. Exploitation requires a spoofed device that identifies as one of these cameras.

2

What does an attacker need to do to exploit it?

The attacker needs physical or equivalent access to connect a malicious USB device. The device must supply an allocation table entry count of 1022 or more while libgphoto2 processes it.

3

How severe could successful exploitation be?

The malformed entry count can overwrite a saved return address and heap data through stack-based and heap-based buffer overflows. This may allow memory corruption and potentially code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203