CVE-2026-44636
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2026-44636",
"sourceIdentifier": "[email protected]",
"published": "2026-05-14T20:17:08.703",
"lastModified": "2026-10-26T14:10:00.130",
"vulnStatus": "Modified",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "libsixel es una implementación de codificador/decodificador SIXEL derivada de sixel de kmiya. Desde hasta 1.8.7-r1, un desbordamiento de entero en el cálculo del tamaño de asignación de sixel_encode_highcolor puede conducir a un desbordamiento de búfer en el heap. El punto de entrada público sixel_encode valida solo que el ancho y el alto son mayores que cero, sin límite superior. El ancho y el alto se multiplican como un entero simple al calcular el tamaño de asignación para paletted_pixels y normalized_pixels. Cualquier llamador que pida a libsixel que codifique un búfer de píxeles con un ancho por alto mayor que INT_MAX (aproximadamente 2.15 mil millones) alcanzará un tamaño de asignación ajustado; bajo el ajuste correcto, el malloc tiene éxito con un búfer mucho más pequeño de lo que el codificador espera, y el codificador escribe más allá del final de la asignación del heap. Esta vulnerabilidad está corregida en 1.8.7-r2."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "saitoha",
"product": "libsixel",
"versions": [
{
"version": ">= 1.4.4, < 1.8.7-r2",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.4,
"baseSeverity": "HIGH",
"attackVector": "LOCAL",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.4,
"impactScore": 5.9
},
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-05-15T00:00:00+00:00",
"id": "CVE-2026-44636",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-122"
},
{
"lang": "en",
"value": "CWE-190"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:saitoha:libsixel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "1.4.4",
"versionEndExcluding": "1.8.7-r2",
"matchCriteriaId": "B8AE0482-C99E-4D5B-84FA-18F9BE7A0C13"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/saitoha/libsixel/security/advisories/GHSA-hx93-w8p2-ffh5",
"source": "[email protected]",
"tags": [
"Vendor Advisory"
]
},
{
"url": "https://github.com/saitoha/libsixel/security/advisories/GHSA-hx93-w8p2-ffh5",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"tags": [
"Vendor Advisory"
]
}
]
}