Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-33021

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-33021

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-33021

libsixel

Source reference: /affected/0/package/name

Affected versions
1.10.3-3

Source reference: /affected/0/versions

1.10.5-1

Source reference: /affected/0/versions

1:1.8.7-1

Source reference: /affected/0/versions

1:1.8.7-2

Source reference: /affected/0/versions

1:1.8.7-3

Source reference: /affected/0/versions

1:1.8.7-4

Source reference: /affected/0/versions

1:1.8.7-5

Source reference: /affected/0/versions

1:1.8.7-6

Source reference: /affected/0/versions

1:1.8.7-r2-1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

libsixel

Source reference: /affected/1/package/name

Affected versions
1.10.5-1

Source reference: /affected/1/versions

1:1.8.7-1

Source reference: /affected/1/versions

1:1.8.7-2

Source reference: /affected/1/versions

1:1.8.7-3

Source reference: /affected/1/versions

1:1.8.7-4

Source reference: /affected/1/versions

1:1.8.7-5

Source reference: /affected/1/versions

1:1.8.7-6

Source reference: /affected/1/versions

1:1.8.7-r2-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

libsixel

Source reference: /affected/2/package/name

Affected versions
1.10.5-1

Source reference: /affected/2/versions

1:1.8.7-1

Source reference: /affected/2/versions

1:1.8.7-2

Source reference: /affected/2/versions

1:1.8.7-3

Source reference: /affected/2/versions

1:1.8.7-4

Source reference: /affected/2/versions

1:1.8.7-5

Source reference: /affected/2/versions

1:1.8.7-6

Source reference: /affected/2/versions

Fixed versions
1:1.8.7-r2-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "libsixel",
      "purl": "pkg:deb/debian/libsixel?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "1.10.3-3",
      "1.10.5-1",
      "1:1.8.7-1",
      "1:1.8.7-2",
      "1:1.8.7-3",
      "1:1.8.7-4",
      "1:1.8.7-5",
      "1:1.8.7-6",
      "1:1.8.7-r2-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33021.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "libsixel",
      "purl": "pkg:deb/debian/libsixel?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "1.10.5-1",
      "1:1.8.7-1",
      "1:1.8.7-2",
      "1:1.8.7-3",
      "1:1.8.7-4",
      "1:1.8.7-5",
      "1:1.8.7-6",
      "1:1.8.7-r2-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33021.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1:1.8.7-r2-1"
          }
        ]
      }
    ],
    "package": {
      "name": "libsixel",
      "purl": "pkg:deb/debian/libsixel?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "1.10.5-1",
      "1:1.8.7-1",
      "1:1.8.7-2",
      "1:1.8.7-3",
      "1:1.8.7-4",
      "1:1.8.7-5",
      "1:1.8.7-6"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33021.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#56757 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement