UBUNTU-CVE-2026-120451 (CVE-2026-120451)
Vulnerability from osv_ubuntu – Published: 2026-11-03 00:00 – Updated: 2026-11-03 00:00 – Source websitelibgphoto2 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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6",
"binary_version": "2.5.3.1-1ubuntu2.2"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.3.1-1ubuntu2.2"
},
{
"binary_name": "libgphoto2-port10",
"binary_version": "2.5.3.1-1ubuntu2.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.3.1-1ubuntu2.2?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.2-0ubuntu5",
"2.5.2-0ubuntu6",
"2.5.3.1-0ubuntu1",
"2.5.3.1-1ubuntu2",
"2.5.3.1-1ubuntu2.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6",
"binary_version": "2.5.9-3"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.9-3"
},
{
"binary_name": "libgphoto2-port12",
"binary_version": "2.5.9-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.9-3?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.8-1",
"2.5.8-2",
"2.5.8-3",
"2.5.9-2",
"2.5.9-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6",
"binary_version": "2.5.16-2"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.16-2"
},
{
"binary_name": "libgphoto2-port12",
"binary_version": "2.5.16-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.16-2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.14-1",
"2.5.16-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6",
"binary_version": "2.5.25-0ubuntu0.1"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.25-0ubuntu0.1"
},
{
"binary_name": "libgphoto2-port12",
"binary_version": "2.5.25-0ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.25-0ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.23-2",
"2.5.24-1",
"2.5.25-0ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6",
"binary_version": "2.5.27-1ubuntu0.1"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.27-1ubuntu0.1"
},
{
"binary_name": "libgphoto2-port12",
"binary_version": "2.5.27-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.27-1ubuntu0.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.27-1",
"2.5.27-1build1",
"2.5.27-1build2",
"2.5.27-1ubuntu0.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6t64",
"binary_version": "2.5.31-2.1ubuntu1.1"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.31-2.1ubuntu1.1"
},
{
"binary_name": "libgphoto2-port12t64",
"binary_version": "2.5.31-2.1ubuntu1.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.31-2.1ubuntu1.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.30-1",
"2.5.31-1",
"2.5.31-2",
"2.5.31-2.1build1",
"2.5.31-2.1build2",
"2.5.31-2.1ubuntu1",
"2.5.31-2.1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6t64",
"binary_version": "2.5.33-1ubuntu2"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.33-1ubuntu2"
},
{
"binary_name": "libgphoto2-port12t64",
"binary_version": "2.5.33-1ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.33-1ubuntu2?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.33-1ubuntu1",
"2.5.33-1ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libgphoto2-6t64",
"binary_version": "2.5.33-1ubuntu1.1"
},
{
"binary_name": "libgphoto2-l10n",
"binary_version": "2.5.33-1ubuntu1.1"
},
{
"binary_name": "libgphoto2-port12t64",
"binary_version": "2.5.33-1ubuntu1.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libgphoto2",
"purl": "pkg:deb/ubuntu/libgphoto2@2.5.33-1ubuntu1.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.31-4build1",
"2.5.32-1",
"2.5.33-1",
"2.5.33-1ubuntu1",
"2.5.33-1ubuntu1.1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2026-120451",
"modified": "2026-11-03T00:00:00Z",
"published": "2026-11-03T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-120451"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-120451"
},
{
"type": "REPORT",
"url": "https://github.com/gphoto/libgphoto2/blob/v2.5.34/camlibs/jl2005c/jl2005c.c#L138-L154"
},
{
"type": "REPORT",
"url": "https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e"
},
{
"type": "REPORT",
"url": "https://github.com/gphoto/libgphoto2/commit/af3b8e9c542cda863fb5f2f3cfeb261bd78e4442"
},
{
"type": "REPORT",
"url": "https://github.com/gphoto/libgphoto2/issues/1326"
},
{
"type": "REPORT",
"url": "https://hackmd.io/@haindpwn/libgphoto2-jl2005c-init-alloc-table-buffer-overflow"
},
{
"type": "REPORT",
"url": "https://www.vulncheck.com/advisories/libgphoto2-through-2.5.34-buffer-overflow-via-jl2005c-camera-driver"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-120451"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.