CVE-2026-54626
Last modified
CVE-2026-54626 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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, the TGA_INDEXED_RLE path selected by image_type == 9 allocates an image buffer using the one-byte-per-pixel SAIL_PIXEL_FORMAT_BPP8_INDEXED format returned by tga_private_sail_pixel_format() in src/sail-codecs/tga/helpers.c, while sail_codec_load_frame_v8_tga() in src/sail-codecs/tga/tga.c derives a two-to-four-byte pixel_size from an attacker-controlled header bpp value from 9 through 32. EPSS estimates a 0.78% chance of exploitation in the next 30 days.
Description
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, the TGA_INDEXED_RLE path selected by image_type == 9 allocates an image buffer using the one-byte-per-pixel SAIL_PIXEL_FORMAT_BPP8_INDEXED format returned by tga_private_sail_pixel_format() in src/sail-codecs/tga/helpers.c, while sail_codec_load_frame_v8_tga() in src/sail-codecs/tga/tga.c derives a two-to-four-byte pixel_size from an attacker-controlled header bpp value from 9 through 32. Loading a crafted color-mapped run-length-encoded TGA through sail_load_from_file() or sail_load_from_memory() therefore writes attacker-controlled bytes beyond the heap pixel buffer. The pixel-count clamp added for CVE-2026-40494 does not constrain the per-pixel write width, so this issue is an incomplete fix of that vulnerability and can cause heap corruption, a reliable crash, or potential code execution. This issue is fixed in version 1.0.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| HappySeaFox | sail | < 1.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54626?
How severe is CVE-2026-54626?
How do I fix CVE-2026-54626?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54620sqlite3 provides Ruby bindings for the SQLite3 embedded data…2
- CVE-2026-54621datamodel-code-generator generates Python data models from s…7.8
- CVE-2026-54622django CMS is an easy-to-use and developer-friendly enterpri…6.5
- CVE-2026-54623django CMS is an easy-to-use and developer-friendly enterpri…7.1
- CVE-2026-54624django CMS is an easy-to-use and developer-friendly enterpri…6.5
- CVE-2026-54625django CMS is a content management system powered by Django.…4.8
- CVE-2026-54627SAIL is a cross-platform library for loading and saving imag…9.8
- CVE-2026-54628Anyquery is an SQL query engine built on top of SQLite. Prio…8.6
- CVE-2026-54629Anyquery is an SQL query engine built on top of SQLite. Prio…7.5
- CVE-2026-5463Command injection vulnerability in console.run_module_with_o…9.8
- CVE-2026-54632SIPSorcery is a WebRTC, SIP, and VoIP library for C# and .NE…7.5
- CVE-2026-54633PoDoFo is a C++17 PDF manipulation library. From version 1.0…6.9
Are you affected by CVE-2026-54626?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
