CVE catalog

CVE-2026-33020

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow which leads to a heap buffer overflow via sixel_frame_convert_to_rgb

[CVE catalog]

Severity
High · CVSS 7.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.21% · Oct 25, 2026

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow which leads to a heap buffer overflow via sixel_frame_convert_to_rgb888() in frame.c, where allocation size and pointer offset computations for palettised images (PAL1, PAL2, PAL4) are performed using int arithmetic before casting to size_t. For images whose pixel count exceeds INT_MAX / 4, the overflow produces an undersized heap allocation for the conversion buffer and a negative pointer offset for the normalization sub-buffer, after which sixel_helper_normalize_pixelformat() writes the full image data starting from the invalid pointer, causing massive heap corruption confirmed by ASAN. An attacker providing a specially crafted large palettised PNG can corrupt the heap of the victim process, resulting in a reliable crash and potential arbitrary code execution. This issue has been fixed in version 1.8.7-r1.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibsixelsid1:1.8.7-r2-1fixed
Debianlibsixelforky1:1.8.7-r2-1fixed
Debianlibsixeltrixie1.10.5-1vulnerable
Debianlibsixelbookworm1.10.3-3vulnerable
CpelibsixelNot reportedNot reportedvulnerable
CpelibsixelNot reported1.8.7-r1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibsixelsourcesid1:1.8.7-r2-1not yet assignedNot reported[1136211]
Debianlibsixelsourceforky1:1.8.7-r2-1not yet assignedNot reported[1136211]
Debianlibsixelsourcetrixie(unfixed)not yet assignedNot reported[1136211]
Debianlibsixelsourcebookworm(unfixed)not yet assignedNot reported[1136211]
CpelibsixelcpeNot reported1.8.7-r1Not reportedNot reportedNot reported

[Debian bug #1136211]

Notes

[trixie] libsixel: Minor issue [bookworm] libsixel: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libsixel1]Affected

    Source package: [libsixel]

    Details (2)
    • 1.10.3-3 · amd64 · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

    • 1.10.3-3 · arm64 · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

  • [libsixel-bin]Affected

    Source package: [libsixel]

    Details (2)
    • 1.10.3-3 · amd64 · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

    • 1.10.3-3 · arm64 · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

  • [libsixel-dev]Affected

    Source package: [libsixel]

    Details (2)
    • 1.10.3-3 · amd64 · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

    • 1.10.3-3 · arm64 · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

  • Source package: [libsixel]

    Details (2)
    • 1.10.3-3 · all · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

    • 1.10.3-3 · all · bookworm

      Affected

      nvd · libsixel · debian · bookworm; nvd · libsixel · debian · 12

[Debian 13 (Trixie)]

  • [libsixel1]Affected

    Source package: [libsixel]

    Details (2)
    • 1.10.5-1 · amd64 · trixie

      Affected

      nvd · libsixel · debian · 13

    • 1.10.5-1 · arm64 · trixie

      Affected

      nvd · libsixel · debian · 13

  • [libsixel-bin]Affected

    Source package: [libsixel]

    Details (2)
    • 1.10.5-1 · amd64 · trixie

      Affected

      nvd · libsixel · debian · 13

    • 1.10.5-1 · arm64 · trixie

      Affected

      nvd · libsixel · debian · 13

  • [libsixel-dev]Affected

    Source package: [libsixel]

    Details (2)
    • 1.10.5-1 · amd64 · trixie

      Affected

      nvd · libsixel · debian · 13

    • 1.10.5-1 · arm64 · trixie

      Affected

      nvd · libsixel · debian · 13

  • Source package: [libsixel]

    Details (2)
    • 1.10.5-1 · all · trixie

      Affected

      nvd · libsixel · debian · 13

    • 1.10.5-1 · all · trixie

      Affected

      nvd · libsixel · debian · 13

Observed:

References