usn-8586-1
Vulnerability from osv_ubuntu
It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing EOS image format data. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40333)
It was discovered that libgphoto2 did not properly null-terminate buffers when parsing Canon folder entries. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40334)
It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing device property values. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40335)
It was discovered that libgphoto2 had a memory leak when parsing Sony device property descriptors. An attacker with physical access could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-40336)
It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing Sony device property enumeration data. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40338)
It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing Sony device property form flags. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40339)
It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing object information. An attacker with physical access could possibly use this issue to obtain sensitive information. (CVE-2026-40340)
It was discovered that libgphoto2 did not properly validate buffer boundaries when parsing EOS focus information. An attacker with physical access could possibly use this issue to cause libgphoto2 to crash, resulting in a denial of service. (CVE-2026-40341)
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-40333",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40334",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40335",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40338",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40339",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40340",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40341",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"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"
},
{
"fixed": "2.5.27-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.27-1",
"2.5.27-1build1",
"2.5.27-1build2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-40333",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40334",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40335",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40338",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40339",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40340",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40341",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"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"
},
{
"fixed": "2.5.31-2.1ubuntu1.1"
}
],
"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"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-40333",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40334",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40335",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40336",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40338",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40339",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40340",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-40341",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:26.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"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"
},
{
"fixed": "2.5.33-1ubuntu1.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.31-4build1",
"2.5.32-1",
"2.5.33-1",
"2.5.33-1ubuntu1"
]
}
],
"aliases": [],
"details": "It was discovered that libgphoto2 did not properly validate buffer\nboundaries when parsing EOS image format data. An attacker with physical\naccess could possibly use this issue to obtain sensitive information.\n(CVE-2026-40333)\n\nIt was discovered that libgphoto2 did not properly null-terminate buffers\nwhen parsing Canon folder entries. An attacker with physical access could\npossibly use this issue to obtain sensitive information. (CVE-2026-40334)\n\nIt was discovered that libgphoto2 did not properly validate buffer\nboundaries when parsing device property values. An attacker with physical\naccess could possibly use this issue to obtain sensitive information.\n(CVE-2026-40335)\n\nIt was discovered that libgphoto2 had a memory leak when parsing Sony\ndevice property descriptors. An attacker with physical access could\npossibly use this issue to cause a denial of service. This issue only\naffected Ubuntu 26.04 LTS. (CVE-2026-40336)\n\nIt was discovered that libgphoto2 did not properly validate buffer\nboundaries when parsing Sony device property enumeration data. An attacker\nwith physical access could possibly use this issue to obtain sensitive\ninformation. (CVE-2026-40338)\n\nIt was discovered that libgphoto2 did not properly validate buffer\nboundaries when parsing Sony device property form flags. An attacker with\nphysical access could possibly use this issue to obtain sensitive\ninformation. (CVE-2026-40339)\n\nIt was discovered that libgphoto2 did not properly validate buffer\nboundaries when parsing object information. An attacker with physical\naccess could possibly use this issue to obtain sensitive information.\n(CVE-2026-40340)\n\nIt was discovered that libgphoto2 did not properly validate buffer\nboundaries when parsing EOS focus information. An attacker with physical\naccess could possibly use this issue to cause libgphoto2 to crash,\nresulting in a denial of service. (CVE-2026-40341)",
"id": "USN-8586-1",
"modified": "2026-07-22T13:11:45Z",
"published": "2026-07-22T13:11:45Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8586-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40333"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40334"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40335"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40336"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40338"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40339"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40340"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-40341"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "libgphoto2 vulnerabilities",
"upstream": [
"UBUNTU-CVE-2026-40333",
"UBUNTU-CVE-2026-40334",
"UBUNTU-CVE-2026-40335",
"UBUNTU-CVE-2026-40336",
"UBUNTU-CVE-2026-40338",
"UBUNTU-CVE-2026-40339",
"UBUNTU-CVE-2026-40340",
"UBUNTU-CVE-2026-40341"
]
}
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.