PatchaPalooza

CVE-2026-40334: libgphoto2 missing null termination in ptp_unpack_Canon_FE() filename buffer in ptp-pack.c

CVE-2026-40334 is a vulnerability in libgphoto2 missing null termination in ptp_unpack_Canon_FE() filename buffer in ptp-pack.c, rated Low by Microsoft, with a CVSS 3.1 base score of 3.5 (Low). An attacker can exploit it by an attacker with physical access, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.19% probability of exploitation activity in the next 30 days, higher than 9% of all scored vulnerabilities. Microsoft released the fix on 16 November 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).

Key facts

CVE ID
CVE-2026-40334
Severity
Low CVSS 3.5
Microsoft severity
Low
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-170
EPSS
0.19% (percentile 9%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
April 2026 Patch Tuesday
Product families
Open Source Software

CVSS score and vector

Microsoft scores CVE-2026-40334 at 3.5 (temporal 3.5) using CVSS 3.1. Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

MetricValue
Attack vectorPhysical
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactLow
Integrity impactNone
Availability impactLow

Affected products (1)

Open Source Software

ProductSecurity updateTypeFixed buildRestart
azl4 libgphoto2 2.5.33-4.azl4 on Azure Linux 4.0Release NotesSecurity Update0:2.5.34-5.azl4

NIST NVD data

NVD status
Deferred
NVD CVSS
3.5 (LOW)
NVD weakness
CWE-170
Published to NVD
NVD last modified

References

Revision history

VersionDateDescription
1.0Information published.
2.0Information published.

Sources