{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:sail:sail:0.9.8:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.9.8"
              },
              {
                "last_affected": "0.9.8"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "e73922273e04ef37ac50b0118960b756548a2d06"
            },
            {
              "last_affected": "e73922273e04ef37ac50b0118960b756548a2d06"
            }
          ],
          "repo": "https://github.com/happyseafox/sail",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.9.8"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "talos",
    "cwe_ids": [
      "CWE-680"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46407.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "v0.9.8"
          },
          {
            "last_affected": "v0.9.8"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2025-46407",
  "modified": "2026-07-15T01:49:19.216151950Z",
  "published": "2025-08-25T14:17:47.494Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2025-2215"
    },
    {
      "type": "WEB",
      "url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2215"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46407.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-46407"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}