CVE catalog

CVE-2026-33021

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain a use-after-free vulnerability in sixel_encoder_encode_bytes() because sixel_frame_init(

[CVE catalog]

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

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain a use-after-free vulnerability in sixel_encoder_encode_bytes() because sixel_frame_init() stores the caller-owned pixel buffer pointer directly in frame->pixels without making a defensive copy. When a resize operation is triggered, sixel_frame_convert_to_rgb888() unconditionally frees this caller-owned buffer and replaces it with a new internal allocation, leaving the caller with a dangling pointer. Any subsequent access to the original buffer by the caller constitutes a use-after-free, confirmed by AddressSanitizer. An attacker who controls incoming frames can trigger this bug repeatedly and predictably, resulting in a reliable crash with potential for 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