SecurityContext

CVE-2026-33021: libsixel - Use After Free

  • Cve: CVE-2026-33021
  • Name: libsixel - Use After Free
  • Description: 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.
  • Impact: Attackers controlling input frames can cause crashes or potentially execute code, leading to denial of service or remote code execution.
  • Remediation: Update to version 1.8.7-r1 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
  • Epss score: 0.00252
  • Epss percentile: 0.16579
  • Assignee: [email protected]
  • Published at: 2026-04-14T23:16:27Z
  • Age in days: 224
  • Modified at: 2026-07-25T11: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-33021
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://github.com/saitoha/libsixel/security/advisories/GHSA-j6m5-2cc7-3whcnvd2026-04-14

References

UrlSourceTags
https://github.com/saitoha/libsixel/security/advisories/GHSA-j6m5-2cc7-3whcnvdExploit, Vendor Advisory
https://github.com/saitoha/libsixel/releases/tag/v1.8.7-r1nvdRelease Notes

Products

ProductAffectedPlatform boundSourcesUrl
saitoha:libsixel< 1.8.7-r1nonvd/v1/products/saitoha/libsixel

Projects

RepositoryLink kindsIndexedUrl
saitoha/libsixelreleases, security_advisoryyes/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