UBUNTU-CVE-2026-26064 (CVE-2026-26064)

Vulnerability from osv_ubuntu – Published: 2026-02-20 02:16 – Updated: 2026-05-20 15:26 – Source website
VLAI
Details

calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Versions 9.2.1 and below contain a Path Traversal vulnerability that allows arbitrary file writes anywhere the user has write permissions. On Windows, this leads to Remote Code Execution by writing a payload to the Startup folder, which executes on next login. Function extract_pictures only checks startswith('Pictures'), and does not sanitize '..' sequences. calibre's own ZipFile.extractall() in utils/zipfile.py does sanitize '..' via _get_targetpath(), but extract_pictures() bypasses this by using manual zf.read() + open(). This issue has been fixed in version 9.3.0.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "calibre",
            "binary_version": "2.55.0+dfsg-1ubuntu0.2"
          },
          {
            "binary_name": "calibre-bin",
            "binary_version": "2.55.0+dfsg-1ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "calibre",
        "purl": "pkg:deb/ubuntu/calibre@2.55.0+dfsg-1ubuntu0.2?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.33.0+dfsg-1build1",
        "2.38.0+dfsg-1",
        "2.45.0+dfsg-1",
        "2.45.0+dfsg-1build1",
        "2.48.0+dfsg-1",
        "2.48.0+dfsg-1build1",
        "2.54.0+dfsg-1",
        "2.55.0+dfsg-1",
        "2.55.0+dfsg-1ubuntu0.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "calibre",
            "binary_version": "3.21.0+dfsg-1build1"
          },
          {
            "binary_name": "calibre-bin",
            "binary_version": "3.21.0+dfsg-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "calibre",
        "purl": "pkg:deb/ubuntu/calibre@3.21.0+dfsg-1build1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.7.0+dfsg-2",
        "3.7.0+dfsg-2build1",
        "3.12.0+dfsg-1",
        "3.13.0+dfsg-1",
        "3.14.0+dfsg-1",
        "3.15.0.1+dfsg-1",
        "3.16.0+dfsg-1",
        "3.16.0+dfsg-1build1",
        "3.17.0+dfsg-1",
        "3.17.0+dfsg-2",
        "3.18.0+dfsg-1build1",
        "3.19.0+dfsg-1",
        "3.20.0+dfsg-1",
        "3.21.0+dfsg-1",
        "3.21.0+dfsg-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "calibre",
            "binary_version": "4.99.4+dfsg+really4.12.0-1ubuntu1"
          },
          {
            "binary_name": "calibre-bin",
            "binary_version": "4.99.4+dfsg+really4.12.0-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "calibre",
        "purl": "pkg:deb/ubuntu/calibre@4.99.4+dfsg+really4.12.0-1ubuntu1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.46.0+dfsg-1",
        "4.2.0+dfsg-2",
        "4.3.0+dfsg-1",
        "4.3.0+dfsg-2",
        "4.4.0+dfsg-1",
        "4.5.0+dfsg-1",
        "4.5.0+dfsg-2",
        "4.5.0+dfsg-3",
        "4.6.0+dfsg-1",
        "4.7.0+dfsg-1",
        "4.99.3+dfsg-2",
        "4.99.4+dfsg-1",
        "4.99.4+dfsg-1build1",
        "4.99.4+dfsg+really4.10.0+py3-2",
        "4.99.4+dfsg+really4.11.2-1",
        "4.99.4+dfsg+really4.11.2-1build1",
        "4.99.4+dfsg+really4.12.0-1",
        "4.99.4+dfsg+really4.12.0-1build1",
        "4.99.4+dfsg+really4.12.0-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "calibre",
            "binary_version": "5.37.0+dfsg-1build1"
          },
          {
            "binary_name": "calibre-bin",
            "binary_version": "5.37.0+dfsg-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "calibre",
        "purl": "pkg:deb/ubuntu/calibre@5.37.0+dfsg-1build1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.25.0+dfsg-2",
        "5.33.2+dfsg-1",
        "5.34.0+dfsg-1",
        "5.35.0+dfsg-1ubuntu2",
        "5.37.0+dfsg-1",
        "5.37.0+dfsg-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "calibre",
            "binary_version": "7.6.0+ds-1build1"
          },
          {
            "binary_name": "calibre-bin",
            "binary_version": "7.6.0+ds-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "calibre",
        "purl": "pkg:deb/ubuntu/calibre@7.6.0+ds-1build1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.24.0+ds-1",
        "6.29.0+ds-1",
        "7.0.0+ds-1",
        "7.1.0+ds-1",
        "7.1.0+ds-2",
        "7.2.0+ds-1",
        "7.2.0+ds-1build1",
        "7.3.0+ds-1",
        "7.4.0+ds-1",
        "7.5.1+ds-1",
        "7.5.1+ds-2",
        "7.5.1+ds-3",
        "7.6.0+ds-1",
        "7.6.0+ds-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "calibre",
            "binary_version": "8.8.0+ds-3build1"
          },
          {
            "binary_name": "calibre-bin",
            "binary_version": "8.8.0+ds-3build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "calibre",
        "purl": "pkg:deb/ubuntu/calibre@8.8.0+ds-3build1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.26.0+ds-4build1",
        "8.3.0+ds-1",
        "8.4.0+ds-1",
        "8.5.0+ds-1",
        "8.6.0+ds-1",
        "8.7.0+ds-1",
        "8.8.0+ds-2",
        "8.8.0+ds-3",
        "8.8.0+ds-3build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "calibre",
            "binary_version": "9.2.1+ds+~0.10.5-2build1"
          },
          {
            "binary_name": "calibre-bin",
            "binary_version": "9.2.1+ds+~0.10.5-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "calibre",
        "purl": "pkg:deb/ubuntu/calibre@9.2.1+ds+~0.10.5-2build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.8.0+ds-3build1",
        "8.13.0+ds+~0.10.5-3",
        "8.14.0+ds+~0.10.5-1",
        "8.15.0+ds+~0.10.5-1",
        "8.16.0+ds+~0.10.5-2",
        "8.16.2+ds+~0.10.5-1",
        "8.16.2+ds+~0.10.5-2",
        "8.16.2+ds+~0.10.5-3",
        "9.2.1+ds+~0.10.5-2build1"
      ]
    }
  ],
  "aliases": [],
  "details": "calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Versions 9.2.1 and below contain a Path Traversal vulnerability that allows arbitrary file writes anywhere the user has write permissions. On Windows, this leads to Remote Code Execution by writing a payload to the Startup folder, which executes on next login. Function extract_pictures only checks startswith(\u0027Pictures\u0027), and does not sanitize \u0027..\u0027 sequences. calibre\u0027s own ZipFile.extractall() in utils/zipfile.py does sanitize \u0027..\u0027 via _get_targetpath(), but extract_pictures() bypasses this by using manual zf.read() + open(). This issue has been fixed in version 9.3.0.",
  "id": "UBUNTU-CVE-2026-26064",
  "modified": "2026-05-20T15:26:06Z",
  "published": "2026-02-20T02:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-26064"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-26064"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kovidgoyal/calibre/security/advisories/GHSA-72ch-3hqc-pgmp"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kovidgoyal/calibre/commit/e1b5f9b45a5e8fa96c136963ad9a1d35e6adac62"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-26064"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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.

Loading…

Loading…

Loading…

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.


Loading…