CVE-2026-33019: libsixel - Integer Overflow
- Cve: CVE-2026-33019
- Name: libsixel - Integer Overflow
- Description: libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow leading to an out-of-bounds heap read in the --crop option handling of img2sixel, where positive coordinates up to INT_MAX are accepted without overflow-safe bounds checking. In sixel_encoder_do_clip(), the expression clip_w + clip_x overflows to a large negative value when clip_x is INT_MAX, causing the bounds guard to be skipped entirely, and the unclamped coordinate is passed through sixel_frame_clip() to clip(), which computes a source pointer far beyond the image buffer and passes it to memmove(). An attacker supplying a specially crafted crop argument with any valid image can trigger an out-of-bounds read in the heap, resulting in a reliable crash and potential information disclosure. This issue has been fixed in version 1.8.7-r1.
- Impact: Attackers can cause a crash or leak memory contents via out-of-bounds heap read, potentially disclosing sensitive information.
- Remediation: Update to version 1.8.7-r1 or later.
- Vulnerability type: integer_overflow
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Epss score: 0.00266
- Epss percentile: 0.18628
- Assignee: [email protected]
- Published at: 2026-04-14T22:16:30Z
- Age in days: 224
- Modified at: 2026-07-25T10:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33019
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/saitoha/libsixel/security/advisories/GHSA-c854-ffg9-g72c | nvd | 2026-04-14 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/saitoha/libsixel/security/advisories/GHSA-c854-ffg9-g72c | nvd | Exploit, Vendor Advisory |
| https://github.com/saitoha/libsixel/releases/tag/v1.8.7-r1 | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| saitoha:libsixel | < 1.8.7-r1 | no | nvd | /v1/products/saitoha/libsixel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| saitoha/libsixel | releases, security_advisory | yes | /v1/repositories/saitoha/libsixel |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-14
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts