CVE-2026-120451

Source
https://cve.org/CVERecord?id=CVE-2026-120451
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120451.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120451
Downstream
Published
2026-11-02T14:29:09Z
Modified
2026-11-11T13:21:00Z
Severity
  • 7.0 (High) CVSS_V4 - 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 CVSS Calculator
Summary
libgphoto2 through 2.5.34 Buffer Overflow via jl2005c Camera Driver
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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120451.json"
}
References

Affected packages

Git / github.com/gphoto/libgphoto2

Affected ranges

Type
GIT
Repo
https://github.com/gphoto/libgphoto2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.5.34"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "af3b8e9c542cda863fb5f2f3cfeb261bd78e4442"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "6a3393dd996502457ab965432cf0b2035278825e"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
libgphoto2-2_5_0-release
libgphoto2-2_5_1-release
libgphoto2-2_5_10-release
libgphoto2-2_5_11-release
libgphoto2-2_5_12-release
libgphoto2-2_5_13-release
libgphoto2-2_5_14-release
libgphoto2-2_5_15-release
libgphoto2-2_5_16-release
libgphoto2-2_5_17-release
libgphoto2-2_5_18-release
libgphoto2-2_5_19-release
libgphoto2-2_5_1_1-release
libgphoto2-2_5_2-release
libgphoto2-2_5_20-release
libgphoto2-2_5_21-release
libgphoto2-2_5_22-release
libgphoto2-2_5_23-release
libgphoto2-2_5_24-release
libgphoto2-2_5_25-release
libgphoto2-2_5_26-release
libgphoto2-2_5_27-release
libgphoto2-2_5_28-release
libgphoto2-2_5_29-release
libgphoto2-2_5_3-release
libgphoto2-2_5_30-release
libgphoto2-2_5_31-release
libgphoto2-2_5_32-release
libgphoto2-2_5_34-release
libgphoto2-2_5_3_1-release
libgphoto2-2_5_4-release
libgphoto2-2_5_5-release
libgphoto2-2_5_5_1-release
libgphoto2-2_5_6-release
libgphoto2-2_5_7-release
libgphoto2-2_5_8-release
libgphoto2-2_5_9-release
v2.*
v2.5.24
v2.5.25
v2.5.26
v2.5.27
v2.5.28
v2.5.29
v2.5.30
v2.5.31
v2.5.32
v2.5.34

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120451.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "147924273785379862497527355461467072",
                "55624524925321124613422540835834316983",
                "685218365551512656931362727726274231",
                "301461502251346126170201740890273980760"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-120451-1f90f770",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e",
        "target":  {
            "file":  "camlibs/jl2005c/jl2005c.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "235903538656771472778761635661055659924",
            "length":  4136
        },
        "id":  "CVE-2026-120451-a5130170",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/gphoto/libgphoto2/commit/6a3393dd996502457ab965432cf0b2035278825e",
        "target":  {
            "file":  "camlibs/jl2005c/jl2005c.c",
            "function":  "jl2005c_init"
        }
    }
]
vanir_signatures_modified
"2026-11-11T13:21:00Z"