نسخههای متأثر
Ubuntu22.04:LTS/libgphoto2
- نسخههای متأثر
- <2.5.27-1ubuntu0.2
- نسخهٔ اصلاحشده
- 2.5.27-1ubuntu0.2
Ubuntu24.04:LTS/libgphoto2
- نسخههای متأثر
- <2.5.31-2.1ubuntu1.2
- نسخهٔ اصلاحشده
- 2.5.31-2.1ubuntu1.2
Ubuntu26.04:LTS/libgphoto2
- نسخههای متأثر
- <2.5.33-1ubuntu1.2
- نسخهٔ اصلاحشده
- 2.5.33-1ubuntu1.2
Ubuntu26.10/libgphoto2
- نسخههای متأثر
- <2.5.33-1ubuntu2.1
- نسخهٔ اصلاحشده
- 2.5.33-1ubuntu2.1
UbuntuPro:14.04:LTS/libgphoto2
- نسخههای متأثر
- <2.5.3.1-1ubuntu2.2+esm1
- نسخهٔ اصلاحشده
- 2.5.3.1-1ubuntu2.2+esm1
UbuntuPro:16.04:LTS/libgphoto2
- نسخههای متأثر
- <2.5.9-3ubuntu0.1~esm1
- نسخهٔ اصلاحشده
- 2.5.9-3ubuntu0.1~esm1
UbuntuPro:18.04:LTS/libgphoto2
- نسخههای متأثر
- <2.5.16-2ubuntu0.1~esm1
- نسخهٔ اصلاحشده
- 2.5.16-2ubuntu0.1~esm1
UbuntuPro:20.04:LTS/libgphoto2
- نسخههای متأثر
- <2.5.25-0ubuntu0.1+esm1
- نسخهٔ اصلاحشده
- 2.5.25-0ubuntu0.1+esm1
شرح آسیبپذیری
libgphoto2 through 2.5.34 contains stack-based and heap-based buffer overflow vulnerabilities in jl2005c_init() 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.
پیوندها
- https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154
- https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e
- https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442
- https://github.com/gphoto/libgphoto2/issues/1326
- https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow
- https://ubuntu.com/security/CVE-2026-120451
- https://ubuntu.com/security/notices/USN-9017-1
- https://www.cve.org/CVERecord?id=CVE-2026-120451
- https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver

