Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-120452— libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion

Quick assessment

Affected
gPhoto libgphoto2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libgphoto2 2.5.34 及更早版本在 jl2005bcd_decompress() 函数中存在堆越界读取和写入漏洞。该漏洞允许恶意的 USB 相机通过处理过大的缩略图来破坏堆内存。攻击者可提供较小的分配表值及缩略图头字节,致使原地字节交换操作超出缓冲区约 30 KB,从而在预览图像中泄露堆内存内容。

CVSS 5.4 · Medium EPSS 0.18% · P8

Affected Version Matrix 1

VendorProduct Version RangeStatus
gPhoto libgphoto2 ≤ 2.5.34 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-120452

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
libgphoto2 through 2.5.34 Heap Out-of-Bounds Read/Write via jl2005c Thumbnail Conversion
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
gPhoto libgphoto2 0 ~ 2.5.34 -

II. Public POCs for CVE-2026-120452

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120452

请登录查看更多情报信息。

Other References for CVE-2026-120452 (6)

IV. Related Vulnerabilities