CVE-2026-17510
Crypt::OpenSSL::PKCS12 versiones anteriores a 1.98 para Perl permiten una desreferencia de puntero NULL en print_attribute a través de un atributo BMPSTRING de longitud cero.
print_attribute() dimensiona el búfer de destino para un atributo BMPSTRING a partir de su longitud en bytes declarada con ’Renew(attribute, length, char)’. Un atributo de longitud cero hace que sea una reasignación de tamaño cero, que Perl implementa como una liberación que devuelve NULL, por lo que el puntero del búfer se vuelve NULL, el siguiente ’strncpy’ no copia nada, y el llamador desreferencia NULL en el ’strlen()’ que pasa a ’newSVpvn()’. Un BMPSTRING de longitud cero tiene una longitud par, por lo que el decodificador ASN.1 lo acepta y el valor llega a este código. Las ramas UTF8STRING, OCTET STRING y BIT STRING dimensionan con ’length + 1’ o ’length * 4 + 1’ y no se ven afectadas.
Leer descripción completaMostrar menos
Cualquier llamador que pase un archivo PKCS#12 no confiable a info_as_hash() puede bloquear el proceso. info() imprime los valores de los atributos directamente sin dimensionar un búfer y no se ve afectada.
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1190Exploit Public-Facing Applicationinitial access85 % - Impacto principal
T1499.004Application or System Exploitationimpact90 %
Vector CVSS AV:N/AC:L/PR:N/UI:N indica explotación remota sin privilegios (T1190). NULL pointer dereference causa crash de proceso (DoS por aplicación expuesta, T1499.004) al procesar archivo PKCS#12 malformado.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Registro NVD
- Estado en NVD
- Aplazada
- Publicada
- 9 ago 2026
- Última modificación
- 23 oct 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Debilidad (CWE)
- CWE-476
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-17510",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-17510",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-08-12T17:35:51.161155Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"repo": "https://github.com/dsully/perl-crypt-openssl-pkcs12",
"vendor": "JONASBN",
"product": "Crypt::OpenSSL::PKCS12",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.98",
"versionType": "custom"
}
],
"packageName": "Crypt-OpenSSL-PKCS12",
"programFiles": [
"PKCS12.xs"
],
"collectionURL": "https://cpan.org/modules",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "Crypt::OpenSSL::PKCS12::info_as_hash"
}
]
}
]
}
],
"published": "2026-08-09T02:16:34.117",
"references": [
{
"url": "https://github.com/dsully/perl-crypt-openssl-pkcs12/commit/6cb282d8d8e8ded4859551cd2d3cfa7c6028ce48.patch",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "https://metacpan.org/release/JONASBN/Crypt-OpenSSL-PKCS12-1.98/source/Changes.md",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/08/09/1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"description": [
{
"lang": "en",
"value": "CWE-476"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Crypt::OpenSSL::PKCS12 versions before 1.98 for Perl allow a NULL pointer dereference in print_attribute via a zero length BMPSTRING attribute.\n\nprint_attribute() sizes the destination buffer for a BMPSTRING attribute from its declared byte length with `Renew(*attribute, length, char)`. A zero length attribute makes that a zero size reallocation, which Perl implements as a free returning NULL, so the buffer pointer becomes NULL, the following `strncpy` copies nothing, and the caller dereferences NULL in the `strlen()` it passes to `newSVpvn()`. A zero length BMPSTRING is even length, so the ASN.1 decoder accepts it and the value reaches this code. The UTF8STRING, OCTET STRING and BIT STRING arms size on `length + 1` or `length * 4 + 1` and are unaffected.\n\nAny caller that passes an untrusted PKCS#12 file to info_as_hash() can crash the process. info() prints attribute values directly without sizing a buffer and is unaffected."
},
{
"lang": "es",
"value": "Crypt::OpenSSL::PKCS12 versiones anteriores a 1.98 para Perl permiten una desreferencia de puntero NULL en print_attribute a través de un atributo BMPSTRING de longitud cero.\n\nprint_attribute() dimensiona el búfer de destino para un atributo BMPSTRING a partir de su longitud en bytes declarada con ’Renew(attribute, length, char)’. Un atributo de longitud cero hace que sea una reasignación de tamaño cero, que Perl implementa como una liberación que devuelve NULL, por lo que el puntero del búfer se vuelve NULL, el siguiente ’strncpy’ no copia nada, y el llamador desreferencia NULL en el ’strlen()’ que pasa a ’newSVpvn()’. Un BMPSTRING de longitud cero tiene una longitud par, por lo que el decodificador ASN.1 lo acepta y el valor llega a este código. Las ramas UTF8STRING, OCTET STRING y BIT STRING dimensionan con ’length + 1’ o ’length * 4 + 1’ y no se ven afectadas.\n\nCualquier llamador que pase un archivo PKCS#12 no confiable a info_as_hash() puede bloquear el proceso. info() imprime los valores de los atributos directamente sin dimensionar un búfer y no se ve afectada."
}
],
"lastModified": "2026-10-23T20:10:00.160",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
}