CVE-2026-125627
Puntero nulo en Samba
En resumen
Un atacante remoto con una cuenta en el sistema podría dejar el servicio sin funcionar sin que nadie haga nada.
Cómo se ataca
- Se puede atacar por la red, incluso desde internet si el servicio está expuesto.
- No requiere condiciones especiales: el ataque se puede repetir de forma confiable.
- Necesita una cuenta con permisos básicos en el sistema.
- No necesita que nadie haga nada: ni abrir un archivo ni hacer clic.
Qué puede lograr el atacante
- Dejar el servicio o el equipo sin funcionar.
Cómo corregirla
- Revise si usa alguno de los productos y versiones de la lista «A qué afecta».
- Aplique la actualización o la mitigación que indica el fabricante.
- Si no puede actualizar ya, reduzca la exposición: que el servicio no sea accesible desde internet, o desactive la función afectada.
Recomendaciones para este tipo de fallo
- Aplicar la actualización del fabricante.
- Para quien desarrolla: comprobar cada valor que pueda ser nulo antes de usarlo.
A qué afecta
Samba · Samba
4.5.0
Qué es: Uso de un puntero nulo
El programa intenta usar un dato que no existe (un puntero nulo) y se cierra. Un atacante lo provoca a voluntad para dejar el servicio sin funcionar.
Con una entrada inesperada, una función devuelve «nada» y el programa sigue como si hubiera un objeto. Al intentar usarlo, falla. En servicios de red esto significa que un paquete bien elegido apaga el servicio; en el núcleo del sistema puede reiniciar el equipo. Rara vez permite ejecutar código.
Guía completa: dónde aparece, cómo se corrige y qué evitarDescripción oficial (en inglés)
A **NULL pointer dereference** flaw has been found in the vlv_value_compare() function in vlv_pagination.c of the Virtual List View module in the **Samba** package. The function uses the sort value from the search result with no check that the result still contains that attribute. A low-privileged network attacker or user who can search the directory sends a Virtual List View search by value, sorted on an attribute the matching entries do not have. The LDAP worker that handles the search exits, which disconnects the directory clients that were using that worker, and the directory service starts a replacement worker. Another search of the same kind crashes the worker that accepts it, and each further crash waits longer before that worker is replaced, so repeating the search keeps the LDAP service from staying available. The same crash follows a search sorted on an attribute the attacker is not allowed to read. The directory removes that attribute from the result, and the comparison uses the missing value.