Skip to content
OpenAdvisories
Medium USN-9017-1 2 CVEs

libgphoto2 vulnerabilities

Published Nov 10, 2026 · Updated Nov 11, 2026

Summary

It was discovered that libgphoto2 did not properly manage memory when
initializing certain cameras. If a user were tricked into connecting a
malicious USB device, an attacker could possibly use this issue to cause
libgphoto2 to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2026-120451)

It was discovered that libgphoto2 did not properly manage memory when
processing certain thumbnails. If a user were tricked into connecting a
malicious USB device, an attacker could possibly use this issue to cause
libgphoto2 to crash, resulting in a denial of service, or expose sensitive
information. (CVE-2026-120452)

Fixed packages 8

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS libgphoto2 2.5.27-1ubuntu0.2
Ubuntu · 24.04 LTS 24.04:LTS libgphoto2 2.5.31-2.1ubuntu1.2
Ubuntu · 26.04 LTS 26.04:LTS libgphoto2 2.5.33-1ubuntu1.2
Ubuntu · 26.10 libgphoto2 2.5.33-1ubuntu2.1
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS libgphoto2 2.5.3.1-1ubuntu2.2+esm1
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS libgphoto2 2.5.9-3ubuntu0.1~esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS libgphoto2 2.5.16-2ubuntu0.1~esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS libgphoto2 2.5.25-0ubuntu0.1+esm1

Vulnerabilities 2

  • Medium 6.8

    libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver

    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 J…

  • Medium 5.4

    libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion

    libgphoto2 through 2.5.34 contains a heap out-of-bounds read and write vulnerability in jl2005bcd_decompress() that allows malicious USB cameras to corrupt heap memory via oversized thumbnail processing. Attackers can supply small allocation-table values and …

References

  • report
    https://ubuntu.com/security/CVE-2026-120451
  • report
    https://ubuntu.com/security/CVE-2026-120452