CVE Database›Document archive›CVE-2026-40335

CVE-2026-40335

libgphoto2: libgphoto2: Information disclosure via out-of-bounds read in ptp_unpack_DPV()

Loading…

Severity

Moderate

Red Hat Product Security

5.2

CVSS 3.1

Review impact separately from score.

Published · April 18, 2026

Updated · July 3, 2026

Description

A flaw was found in libgphoto2, a library for camera access. This out-of-bounds read vulnerability in the ptp_unpack_DPV() function occurs because the software does not properly validate buffer boundaries when handling specific data types. An attacker with physical access to the device could exploit this to potentially disclose sensitive information or cause a denial of service.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.2
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

CWE-125 · Out-of-bounds Read