Skip to content
Heist/ feed
Back to feed
High

sail — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-46407

A memory corruption vulnerability exists in the BMPv3 Palette Decoding functionality of the SAIL Image Decoding Library v0.9.8. When loading a specially crafted .bmp file, an integer overflow can be made to occur which will cause a heap-based buffer to overflow when reading the palette from the image. These conditions can allow for remote code execution. An attacker will need to convince the library to read a file to trigger this vulnerability.

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.7-1build1, 0.9.8-1, 0.9.9-1
Fixed versions
Not specified
CVEs
CVE-2025-46407
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:32 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-46407

core-osv · Original source

Published 25 Aug 2025, 15:15 UTC

A memory corruption vulnerability exists in the BMPv3 Palette Decoding functionality of the SAIL Image Decoding Library v0.9.8. When loading a specially crafted .bmp file, an integer overflow can be made to occur which will cause a heap-based buffer to overflow when reading the palette from the image. These conditions can allow for remote code execution. An attacker will need to convince the library to read a file to trigger this vulnerability.

osv:UBUNTU-CVE-2025-46407

sail

Fixed versions: Not specified

sail

Fixed versions: Not specified

sail

Fixed versions: Not specified

sail

Fixed versions: Not specified

Complete source record
{
  "id": "0ce799d6968d3797c037da341975b06029dbf6a163a6cb0c4d977f253f4497b1",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-46407",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-46407",
    "summary": "A memory corruption vulnerability exists in the BMPv3 Palette Decoding functionality of the SAIL Image Decoding Library v0.9.8. When loading a specially crafted .bmp file, an integer overflow can be made to occur which will cause a heap-based buffer to overflow when reading the palette from the image. These conditions can allow for remote code execution. An attacker will need to convince the library to read a file to trigger this vulnerability.",
    "evidence": "osv:UBUNTU-CVE-2025-46407",
    "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.7-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.9.8-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.9.9-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "sail",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.10-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.9.10-3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "sail",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.9.9-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.9.10-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2025-46407",
      "aliases": [
        "UBUNTU-CVE-2025-46407"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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/2025/UBUNTU-CVE-2025-46407.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=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.9.7-1build1",
            "0.9.8-1",
            "0.9.9-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-46407.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libsail-c++0t64",
                "binary_version": "0.9.9-1"
              },
              {
                "binary_name": "libsail-common0t64",
                "binary_version": "0.9.9-1"
              },
              {
                "binary_name": "libsail-manip0t64",
                "binary_version": "0.9.9-1"
              },
              {
                "binary_name": "libsail0t64",
                "binary_version": "0.9.9-1"
              },
              {
                "binary_name": "sail-codecs",
                "binary_version": "0.9.9-1"
              }
            ]
          }
        },
        {
          "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/2025/UBUNTU-CVE-2025-46407.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/2025/UBUNTU-CVE-2025-46407.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:57:02.661710513Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-46407"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-46407",
        "https://www.cve.org/CVERecord?id=CVE-2025-46407",
        "https://talosintelligence.com/vulnerability_reports/TALOS-2025-2215"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-46407",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356668,
  "published_at": "2025-08-25T15:15:00+00:00"
}