Back to the CVE list
CVE-2026-120452

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

CVSS score

5.2

EPSS probability

—

Risk score

0.5

Published

2 h ago

Official patch verified

Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.

Impact on My Inventory

Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.

Checking session…

Vulnerability description

DayBreach AI Explanation

Verified against sources

libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write Vulnerability

Sources read

1

Source agreement

Tam uyum

Evidence confidence

%55

Short explanation

libgphoto2 through 2.5.34 contains a heap out-of-bounds read and write vulnerability in jl2005bcd_decompress(). Malicious USB cameras can corrupt heap memory through oversized thumbnail processing.

Why does it matter?

This vulnerability allows malicious USB cameras to leak heap contents in preview images and corrupt memory integrity.

What should be done?

  • Apply the verified patch references and commits
  • Follow vendor advisories for updates
  • Update libgphoto2 to a fixed version
Chain of evidence and sources2 verified claims

libgphoto2 2.5.34 ve önceki sürümler, jl2005bcd_decompress fonksiyonunda heap sınır dışı okuma ve yazma zafiyeti içermektedir.

Zafiyet için doğrulanmış yama veya düzeltilmiş sürüm kanıtı mevcuttur.

Show the technical text from the sources

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 a thumbnail header byte so in-place byte-swapping exceeds the buffer by about 30 KB, leaking heap contents in preview images.

CVSS vector: CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

CWE: CWE-787

This explanation was compiled automatically from the source records. Scores, active exploitation, patch and exploit status come straight from the sources.

IMPACT: Affected Products and Software

Affected Products

The following products are affected by CVE-2026-120452 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.

IDVENDORPRODUCTACTION
1gPhotolibgphoto2 View
Total affected vendors: 1|Products: 1

RED HAT CSAF/VEX: Product Impact Check

Red Hat has not yet published a CSAF/VEX impact record for this CVE. This does not mean “not affected”.

SCORING: CVSS from Multiple Sources

CVSS Scores

The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.

SCOREVERSIONSEVERITYVECTORSOURCE
5.4CVSS V31MEDIUMCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:HNVD
5.4CVSS V3_1MEDIUMCVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:HCVE CNA
5.2CVSS V40MEDIUMCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD
5.2CVSS V4_0MEDIUMCVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:NCVE CNA

Patch and Remediation Guide

Solution & Remediation Advisory

Patch verified

4 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

cvelist

CNA çözüm referansı

Open source
cvelist

CNA çözüm referansı

Open source
reference

Yama veya çözüm referansı

Open source
reference

Yama veya çözüm referansı

Open source
Confirm the affected product and version against the source evidence above.
Restrict access to internet-facing services and apply network segmentation.
Apply the official update named in the evidence only to the matching product and version.
Monitor server logs and network endpoints for signs of anomalous execution.

Public exploit and active exploitation status

Verified exploit intelligence

No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.

Weakness Classification and Attack Patterns (CWE & CAPEC)

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-120452 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-120452 weaknesses.

Attack Vector and Accessibility

ExposureFiziksel
PermissionsGerekmiyor
User—

Official Sources and Advisories

CVSS Vector Radar Chart

5.2 / 10
Attack VectorLocalComplexityLowPrivilegesNoneUser Interact.RequiredConfidentialityLowIntegrityNoneAvailabilityHigh

Vulnerability Scoring Details

CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Attack VectorPhysical
Attack ComplexityLow
Privileges RequiredNone required
User InteractionP
Confidentiality (Gizlilik)Low
Integrity (Bütünlük)P
Availability (Erişilebilirlik)High

Yama doğrulandı

4 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.

Follow the vendor

G
gPhoto logo
gPhoto

Weakness Type (CWE & CAPEC)

Similar Vulnerabilities

Get this vulnerability through the API

Affected products, version ranges, exploitation status and patch information in a single request, with a free key.

curl -H "x-api-key: $DAYBREACH_API_KEY" \
  "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-120452"
CVE-2026-120452 · libgphoto2 through 2.5.34 Heap…