libsixel — security advisory
libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, signed integer overflow in sixel_encode_highcolor's allocation size calculation can lead to a heap buffer overflow. The public sixel_encode entry point validates only that width and height are greater than zero, with no upper bound. width and height are multiplied as plain int when computing the allocation size for paletted_pixels and normalized_pixels. Any caller that asks libsixel to encode a pixel buffer with width times height greater than INT_MAX (about 2.15 billion) will hit a wrapped allocation size; under the right wrap, the malloc succeeds with a buffer much smaller than the encoder expects, and the encoder writes past the end of the heap allocation. This vulnerability is fixed in 1.8.7-r2.
- Products
- libsixel
- Affected 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
- Fixed versions
- 1:1.8.7-r2-1
- CVEs
- CVE-2026-44636
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:52 UTC · Revision 2
Source evidence
libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, signed integer overflow in sixel_encode_highcolor's allocation size calculation can lead to a heap buffer overflow. The public sixel_encode entry point validates only that width and height are greater than zero, with no upper bound. width and height are multiplied as plain int when computing the allocation size for paletted_pixels and normalized_pixels. Any caller that asks libsixel to encode a pixel buffer with width times height greater than INT_MAX (about 2.15 billion) will hit a wrapped allocation size; under the right wrap, the malloc succeeds with a buffer much smaller than the encoder expects, and the encoder writes past the end of the heap allocation. This vulnerability is fixed in 1.8.7-r2.
osv:DEBIAN-CVE-2026-44636
libsixel
Fixed versions: Not specified
libsixel
Fixed versions: Not specified
libsixel
Fixed versions: 1:1.8.7-r2-1
Complete source record
{
"id": "8f13fff90830f770c095f5955559735a9aaeeb6d0a2964a38bd5654f0a174e6f",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-44636",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-44636",
"summary": "libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. From to 1.8.7-r1, signed integer overflow in sixel_encode_highcolor's allocation size calculation can lead to a heap buffer overflow. The public sixel_encode entry point validates only that width and height are greater than zero, with no upper bound. width and height are multiplied as plain int when computing the allocation size for paletted_pixels and normalized_pixels. Any caller that asks libsixel to encode a pixel buffer with width times height greater than INT_MAX (about 2.15 billion) will hit a wrapped allocation size; under the right wrap, the malloc succeeds with a buffer much smaller than the encoder expects, and the encoder writes past the end of the heap allocation. This vulnerability is fixed in 1.8.7-r2.",
"evidence": "osv:DEBIAN-CVE-2026-44636",
"products": [
{
"name": {
"value": "libsixel",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.10.3-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.10.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "1:1.8.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "1:1.8.7-2",
"evidence": "/affected/0/versions"
},
{
"value": "1:1.8.7-3",
"evidence": "/affected/0/versions"
},
{
"value": "1:1.8.7-4",
"evidence": "/affected/0/versions"
},
{
"value": "1:1.8.7-5",
"evidence": "/affected/0/versions"
},
{
"value": "1:1.8.7-6",
"evidence": "/affected/0/versions"
},
{
"value": "1:1.8.7-r2-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libsixel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.10.5-1",
"evidence": "/affected/1/versions"
},
{
"value": "1:1.8.7-1",
"evidence": "/affected/1/versions"
},
{
"value": "1:1.8.7-2",
"evidence": "/affected/1/versions"
},
{
"value": "1:1.8.7-3",
"evidence": "/affected/1/versions"
},
{
"value": "1:1.8.7-4",
"evidence": "/affected/1/versions"
},
{
"value": "1:1.8.7-5",
"evidence": "/affected/1/versions"
},
{
"value": "1:1.8.7-6",
"evidence": "/affected/1/versions"
},
{
"value": "1:1.8.7-r2-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libsixel",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:1.8.7-r2-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1.10.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "1:1.8.7-1",
"evidence": "/affected/2/versions"
},
{
"value": "1:1.8.7-2",
"evidence": "/affected/2/versions"
},
{
"value": "1:1.8.7-3",
"evidence": "/affected/2/versions"
},
{
"value": "1:1.8.7-4",
"evidence": "/affected/2/versions"
},
{
"value": "1:1.8.7-5",
"evidence": "/affected/2/versions"
},
{
"value": "1:1.8.7-6",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-44636",
"aliases": [
"DEBIAN-CVE-2026-44636"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"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-44636.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-44636.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-44636.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T09:47:44.158024969Z",
"provider": "osv",
"upstream": [
"CVE-2026-44636"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-44636"
]
},
"related_cves": [
{
"value": "CVE-2026-44636",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461395,
"published_at": "2026-05-14T20:17:08.703+00:00"
}