Advisory

UBUNTU-CVE-2026-120451

Also known as: CVE-2026-120451

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-11-02 15:17 UTC
Modified
2026-11-11 09:37 UTC

Affected packages and fixes

libgphoto2

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.5.27-1ubuntu0.2 (ecosystem)

Fixed versions

2.5.27-1ubuntu0.2

Fix

  • Fixed version 2.5.27-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgphoto2

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.5.31-2.1ubuntu1.2 (ecosystem)

Fixed versions

2.5.31-2.1ubuntu1.2

Fix

  • Fixed version 2.5.31-2.1ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgphoto2

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0, fixed 2.5.33-1ubuntu2.1 (ecosystem)

Fixed versions

2.5.33-1ubuntu2.1

Fix

  • Fixed version 2.5.33-1ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgphoto2

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.5.33-1ubuntu1.2 (ecosystem)

Fixed versions

2.5.33-1ubuntu1.2

Fix

  • Fixed version 2.5.33-1ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences