{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40333","published":"2026-04-18T00:16:37.120000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Deferred","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-125"],"cpes":[],"cpes_truncated":false,"vendors":["gphoto"],"products":["gphoto/libgphoto2"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":37,"links":{"html_es":"/es/cve/CVE-2026-40333/","html_en":"/en/cve/CVE-2026-40333/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40333","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40333"},"untrusted":{"vendor_name":"gphoto","product_name":"libgphoto2","desc_en":"libgphoto2 is a camera access and control library. In versions up to and including 2.5.33, two functions in camlibs/ptp2/ptp-pack.c accept a data pointer but no length parameter, performing unbounded reads. Their callers in ptp_unpack_EOS_events() have xsize available but never pass it, leaving both functions unable to validate reads against the actual buffer boundary. Commit 1817ecead20c2aafa7549dac9619fe38f47b2f53 patches the issue.","affected":[{"untrusted_vendor":"gphoto","untrusted_product":"libgphoto2","versions":[]}],"references":[{"url":"https://github.com/gphoto/libgphoto2/commit/1817ecead20c2aafa7549dac9619fe38f47b2f53","tags":[]},{"url":"https://github.com/gphoto/libgphoto2/security/advisories/GHSA-hq94-cp6h-3gjp","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10916-1","url":"https://www.suse.com/support/update/","published":"2026-05-31T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"libgphoto2-6-2.5.34-1.1 on GA media"}}]}