Skip to content
Heist/ feed
Back to feed
Critical

sail — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-54627

SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. In 0.9.10 and earlier, psd_private_sail_pixel_format() in src/sail-codecs/psd/helpers.c resolves a one-channel PSD in Bitmap color mode to SAIL_PIXEL_FORMAT_BPP1_INDEXED without requiring the file depth to be one, so the pixel buffer uses one-bit rows while sail_codec_load_frame_v8_psd() in src/sail-codecs/psd/psd.c accepts depth == 8 and writes one attacker-controlled byte per pixel. Loading a crafted PSD through sail_load_from_file() or sail_load_from_memory() therefore writes beyond each heap row, causing memory corruption, a reliable crash, or potential code execution. This mode/depth mismatch is distinct from GHSA-rcqx-gc76-r9mv and GHSA-wcj8-hxxf-pq2c. This issue is fixed in version 1.0.0.

Products
sail
Affected versions
0.9.0+repack-1, 0.9.0+repack-2, 0.9.0+repack-2.1, 0.9.0+repack-2.1build1, 0.9.10-1, 0.9.10-3, 0.9.9-1
Fixed versions
Not specified
CVEs
CVE-2026-54627
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:46 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-54627

core-osv · Original source

Published 17 Sept 2026, 20:16 UTC

SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. In 0.9.10 and earlier, psd_private_sail_pixel_format() in src/sail-codecs/psd/helpers.c resolves a one-channel PSD in Bitmap color mode to SAIL_PIXEL_FORMAT_BPP1_INDEXED without requiring the file depth to be one, so the pixel buffer uses one-bit rows while sail_codec_load_frame_v8_psd() in src/sail-codecs/psd/psd.c accepts depth == 8 and writes one attacker-controlled byte per pixel. Loading a crafted PSD through sail_load_from_file() or sail_load_from_memory() therefore writes beyond each heap row, causing memory corruption, a reliable crash, or potential code execution. This mode/depth mismatch is distinct from GHSA-rcqx-gc76-r9mv and GHSA-wcj8-hxxf-pq2c. This issue is fixed in version 1.0.0.

osv:UBUNTU-CVE-2026-54627

sail

Fixed versions: Not specified

sail

Fixed versions: Not specified

sail

Fixed versions: Not specified

Complete source record
{
  "id": "9cc440a90f3ab512ed66a690ae0d7f14dbee2aaee953bcbc0b758cfff7ac7f4b",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54627",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-54627",
    "summary": "SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. In 0.9.10 and earlier, psd_private_sail_pixel_format() in src/sail-codecs/psd/helpers.c resolves a one-channel PSD in Bitmap color mode to SAIL_PIXEL_FORMAT_BPP1_INDEXED without requiring the file depth to be one, so the pixel buffer uses one-bit rows while sail_codec_load_frame_v8_psd() in src/sail-codecs/psd/psd.c accepts depth == 8 and writes one attacker-controlled byte per pixel. Loading a crafted PSD through sail_load_from_file() or sail_load_from_memory() therefore writes beyond each heap row, causing memory corruption, a reliable crash, or potential code execution. This mode/depth mismatch is distinct from GHSA-rcqx-gc76-r9mv and GHSA-wcj8-hxxf-pq2c. This issue is fixed in version 1.0.0.",
    "evidence": "osv:UBUNTU-CVE-2026-54627",
    "products": [
      {
        "name": {
          "value": "sail",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.0+repack-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.9.0+repack-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.9.0+repack-2.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.9.0+repack-2.1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "sail",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.10-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.9.10-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "sail",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.9-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.10-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-54627",
      "aliases": [
        "UBUNTU-CVE-2026-54627"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "sail",
            "purl": "pkg:deb/ubuntu/sail?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.9.0+repack-1",
            "0.9.0+repack-2",
            "0.9.0+repack-2.1",
            "0.9.0+repack-2.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54627.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libsail-c++0t64",
                "binary_version": "0.9.0+repack-2.1build1"
              },
              {
                "binary_name": "libsail-common0t64",
                "binary_version": "0.9.0+repack-2.1build1"
              },
              {
                "binary_name": "libsail-manip0t64",
                "binary_version": "0.9.0+repack-2.1build1"
              },
              {
                "binary_name": "libsail0t64",
                "binary_version": "0.9.0+repack-2.1build1"
              },
              {
                "binary_name": "sail-codecs",
                "binary_version": "0.9.0+repack-2.1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "sail",
            "purl": "pkg:deb/ubuntu/sail?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.9.10-1",
            "0.9.10-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54627.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libsail-c++0t64",
                "binary_version": "0.9.10-3"
              },
              {
                "binary_name": "libsail-common0t64",
                "binary_version": "0.9.10-3"
              },
              {
                "binary_name": "libsail-manip0t64",
                "binary_version": "0.9.10-3"
              },
              {
                "binary_name": "libsail0t64",
                "binary_version": "0.9.10-3"
              },
              {
                "binary_name": "sail-codecs",
                "binary_version": "0.9.10-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "sail",
            "purl": "pkg:deb/ubuntu/sail?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.9.9-1",
            "0.9.10-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54627.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libsail-c++0t64",
                "binary_version": "0.9.10-1"
              },
              {
                "binary_name": "libsail-common0t64",
                "binary_version": "0.9.10-1"
              },
              {
                "binary_name": "libsail-manip0t64",
                "binary_version": "0.9.10-1"
              },
              {
                "binary_name": "libsail0t64",
                "binary_version": "0.9.10-1"
              },
              {
                "binary_name": "sail-codecs",
                "binary_version": "0.9.10-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:07.863622617Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54627"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-54627",
        "https://www.cve.org/CVERecord?id=CVE-2026-54627",
        "https://github.com/HappySeaFox/sail/security/advisories/GHSA-ccqf-rv86-h3wm",
        "https://github.com/HappySeaFox/sail/commit/f44a8b779a1fc527fc6bc5caa71a66a8ed940d50",
        "https://github.com/HappySeaFox/sail/releases/tag/v1.0.0"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54627",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359330,
  "published_at": "2026-09-17T20:16:00+00:00"
}