CVE-2026-59143
Full vulnerability record from the local CVENow database.
Description
Data::RoaringBitmap::Shared versions before 0.02 for Perl allow an out-of-bounds read via an unvalidated container offset and cardinality in rb_contains_locked. The attach-time validator rb_validate_header checks the header scalars and region layout against the file size, but does not validate the bucket contents it then trusts. rb_contains_locked forms a container pointer as pool + container_off * 8192 from a raw file-stored offset and then searches over a file-stored cardinality, neither bounded against the container pool capacity or the fixed 8192-byte slot size. A local peer that can write the backing file can leave the header valid while poisoning a bucket, so the next membership query dereferences a file-controlled wild pointer and scans a file-controlled count, reading adjacent memory or crashing the process.
View original CVE JSON
{
"id": "CVE-2026-59143",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-07-21T20:17:03.083",
"lastModified": "2026-10-24T19:10:00.127",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Data::RoaringBitmap::Shared versions before 0.02 for Perl allow an out-of-bounds read via an unvalidated container offset and cardinality in rb_contains_locked.\n\nThe attach-time validator rb_validate_header checks the header scalars and region layout against the file size, but does not validate the bucket contents it then trusts. rb_contains_locked forms a container pointer as pool + container_off * 8192 from a raw file-stored offset and then searches over a file-stored cardinality, neither bounded against the container pool capacity or the fixed 8192-byte slot size.\n\nA local peer that can write the backing file can leave the header valid while poisoning a bucket, so the next membership query dereferences a file-controlled wild pointer and scans a file-controlled count, reading adjacent memory or crashing the process."
},
{
"lang": "es",
"value": "Las versiones de Data::RoaringBitmap::Shared anteriores a la 0.02 para Perl permiten una lectura fuera de límites a través de un desplazamiento de contenedor y una cardinalidad no validados en rb_contains_locked.\n\nEl validador en tiempo de adjunción rb_validate_header verifica los escalares del encabezado y la disposición de la región contra el tamaño del archivo, pero no valida el contenido del bucket en el que luego confía. rb_contains_locked forma un puntero de contenedor como pool + container_off * 8192 a partir de un desplazamiento sin procesar almacenado en el archivo y luego busca sobre una cardinalidad almacenada en el archivo, ninguno de los cuales está limitado por la capacidad del pool de contenedores o el tamaño fijo de ranura de 8192 bytes.\n\nUn par local que puede escribir el archivo de respaldo puede dejar el encabezado válido mientras envenena un bucket, por lo que la siguiente consulta de membresía desreferencia un puntero comodín controlado por el archivo y escanea un recuento controlado por el archivo, leyendo memoria adyacente o bloqueando el proceso."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"vendor": "EGOR",
"product": "Data::RoaringBitmap::Shared",
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "Data-RoaringBitmap-Shared",
"programFiles": [
"roaring.h"
],
"programRoutines": [
{
"name": "rb_contains_locked"
}
],
"repo": "https://github.com/vividsnow/perl5-data-roaringbitmap-shared",
"versions": [
{
"version": "0",
"lessThan": "0.02",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "LOW"
},
"exploitabilityScore": 2.8,
"impactScore": 3.4
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-23T12:14:09.488223Z",
"id": "CVE-2026-59143",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-125"
}
]
}
],
"references": [
{
"url": "https://metacpan.org/release/EGOR/Data-RoaringBitmap-Shared-0.02/changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://metacpan.org/release/EGOR/Data-RoaringBitmap-Shared-0.02/diff/EGOR/Data-RoaringBitmap-Shared-0.01#roaring.h",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
}
]
}