Memoria · CWE-416
Uso de memoria después de liberarla (use-after-free)
El programa sigue usando un espacio de memoria que ya devolvió, y un atacante logra poner ahí sus propios datos para controlar el programa.
11.468 vulnerabilidades publicadas de este tipo, 115 de ellas explotadas activamente según CISA.
Cómo funciona
Cuando un objeto se libera pero queda una referencia a él, el siguiente que pida memoria puede recibir ese mismo espacio. Si el atacante consigue llenarlo con datos suyos, el programa los usará como si fueran el objeto original, lo que suele permitir ejecutar código. Es la falla más común en navegadores y núcleos de sistemas operativos. Liberar dos veces la misma memoria (double free) tiene efectos parecidos.
Dónde aparece
Navegadores (Chrome, Edge, Safari, Firefox), núcleos de Windows, Linux y Android, lectores de PDF, controladores.
Cómo se corrige
- Aplicar la actualización del fabricante, con prioridad en navegadores y sistemas operativos.
- Activar las actualizaciones automáticas del navegador y reiniciarlo para que se apliquen.
- Para quien desarrolla: anular punteros al liberar, usar punteros inteligentes y probar con AddressSanitizer y fuzzing.
Qué evitar
- Dejar navegadores sin reiniciar durante semanas: la actualización descargada no protege hasta reiniciar.
Explotadas de este tipo
- CVE-2026-125350Alta8.8 ExplotadaPrioridad urgenteEPSS 6,8 %10 de nov de 2026
Uso de memoria liberada en Chrome
Use after free in XML in Google Chrome prior to 157.0.8103.50 allowed a remote attacker to execute arbitrary code inside the sandbox via a crafted HTML page. (Chromium security severity: High)
- CVE-2026-109619Alta8.1 ExplotadaPrioridad urgenteEPSS 21 %26 de oct de 2026
Uso de memoria liberada en PHP
PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).
- CVE-2026-109618Crítica9.8 ExplotadaPrioridad urgenteEPSS 45 %26 de oct de 2026
Uso de memoria liberada en PHP
PHP uses longjmp() for out-of-memory (OOM) errors to exit the current context and abort handling of the request. Some contexts may not properly account for this scenario and leave request memory in an uninitialized state before performing an allocation. The subsequent request cleanup procedure may read or branch on this memory. Multiple OOM strategies can consistently trigger this condition and lead to remote code execution (RCE).
- CVE-2026-33824Crítica9.8 ExplotadaPrioridad urgenteEPSS 1,7 %18 de ago de 2026
Uso de memoria liberada en Windows 10 Version 1607
Double free in Windows IKE Extension allows an unauthorized attacker to execute code over a network.
- CVE-2026-68820Alta7.0 ExplotadaPrioridad urgenteEPSS 0,33 %11 de ago de 2026
Uso de memoria liberada en Windows 10 Version 1607
Use after free in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.
- CVE-2010-0806Alta8.8 ExplotadaPrioridad urgenteEPSS 82 %20 de may de 2026
Uso de memoria liberada en internet explorer
Use-after-free vulnerability in the Peer Objects component (aka iepeers.dll) in Microsoft Internet Explorer 6, 6 SP1, and 7 allows remote attackers to execute arbitrary code via vectors involving access to an invalid pointer after the deletion of an object, as exploited in the wild in March 2010, aka "Uninitialized Memory Corruption Vulnerability."
Publicadas recientemente
- CVE-2026-137461Media5.3Prioridad mediaEPSS 0,29 %26 de nov de 2026
Uso de memoria liberada en FreeRDP
FreeRDP from 3.0.0 before 3.33.0 contains a use-after-free vulnerability in cert_write_server_certificate_v1() that computes the proprietary certificate signature over a freed stream buffer after reallocation. Clients negotiating Standard RDP Security with many static channels against servers using 3072- or 4096-bit keys trigger freed heap reads, producing invalid certificate signatures.
- CVE-2026-71410Baja2.1Prioridad bajaEPSS 0,24 %26 de nov de 2026
Uso de memoria liberada en Screen
GNU Screen is vulnerable to a Use-After-Free in the utf8_handle_comb() function in encoding.c. Due to improper error handling during memory allocation failure, the global combchars pointer is freed but not reset to NULL. When a subsequent combining Unicode character arrives at the terminal, the function dereferences the freed pointer. An attacker who controls terminal content sent to the screen session, such as via a rogue SSH server or crafted escape sequences, can exploit this vulnerability to perform heap grooming and achieve arbitrary code execution. This issue was fixed in version 5.0.2.
- CVE-2026-123911Crítica9.8Prioridad urgenteEPSS 1,3 %26 de nov de 2026
Uso de memoria liberada en VMware ESX
ESX contains a use-after-free vulnerability in the I/O filter service. Broadcom has evaluated the severity of this issue to be in the Critical severity range with a maximum CVSSv3 base score of 9.8. Affected versions: VMware ESX 9.1.x.x: fixed in ESXi-9.1.2.0-25946735 VMware ESX 9.0.x.x: fixed in ESXi-9.0.2.0200-25953133 VMware ESX 8.0: fixed in ESXi80U3m-25926933 VMware Cloud Foundation 5.x: fixed in 5.2.5 VMware Telco Cloud Platform 5.0.x: fixed in KB463501 VMware Telco Cloud Platform 5.1.x: fixed in KB463501
- CVE-2026-137326Alta7.0Prioridad altaEPSS 0,24 %26 de nov de 2026
Uso de memoria liberada en ICU4C
ICU4C through 79.1 contains a use-after-free and double free vulnerability in the x11-compound-text converter because cloning shares the extraInfo block without a safeClone handler. Attackers who control the charset name passed to ucnv_open() in applications calling ucnv_setSubstString() or cloning converters can corrupt the heap, causing crashes and potentially code execution.
- CVE-2026-136514Media6.5Prioridad mediaEPSS 0,53 %25 de nov de 2026
Desbordamiento de memoria en psqlODBC
psqlODBC assumed that a table it reads keeps the definition it had when the statement was described or parsed. A database user who owns a table or view another user's application reads can crash that application, with an honest server and default options, in these cases: - Columns dropped or added in another session while the application updates rows through an updatable cursor, or describes the columns with Parse=1. - A view whose ctid is NULL, read through an updatable cursor, which writes past the row cache, and a view with a volatile filter scrolled backward with UseDeclareFetch=1. - Rows added through an updatable cursor to a table with child tables or partitions. - A column whose type is named lo, written with data-at-execution parameters. - A DROP TABLE or ALTER TABLE on the connection while another statement still uses the table's column information. - NULL key columns in rows the driver re-reads for an updatable cursor. - A function called with more output parameters than its result has columns. - SQLTables() and SQLTablesW() dereferenced NULL when called with empty strings for the catalog, schema and table names together with a NULL TableType, which kills the process that loaded the driver and every session it serves. The demonstrated results are crashes; one case writes past a heap buffer, but code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.
- CVE-2026-136509Alta7.5Prioridad altaEPSS 0,46 %25 de nov de 2026
Desbordamiento de memoria en psqlODBC
psqlODBC did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row has the described number of columns, that one query produces one result, and that a COPY, a transaction or the connection ends where the protocol says. By sending replies that do not match, a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable) can corrupt memory in the application: - A FETCH reply with more rows than requested overflows the row cache. - Extra results in reply to a FETCH, or to the queries of a keyset-driven cursor, are freed while still in use. - A key query of a keyset-driven cursor answered with extra columns, or a re-read row with fewer columns, overflows the row cache. - Replies without columns or rows, or with NULL values, to the driver's internal queries at connect time and in catalog functions are dereferenced. - A malformed relacl value in SQLTablePrivileges() makes the driver write past a buffer. - On Windows with MSDTC, a long transaction name returned by the server overflows a buffer during recovery. - Values in replies to the driver's internal queries are used without checking their range: an empty column name, a parameter count, a large-object size, a function's or trigger's argument count, and a result of exactly 32767 columns. They are dereferenced, read past, returned to the application or sent back to the server as stack memory, or make the driver loop forever. - A reply that ends a COPY, the connection or the transaction at an unexpected point leaves freed results, keysets or table information in use: a CopyOutResponse followed by a lost connection, a ROLLBACK command tag under UseDeclareFetch=1, or a lost connection while a cursor with positioned updates is closed. Eight extra bytes in a reply also make the driver wait forever for a COPY to end. - On Windows, a start-up reply without client_encoding crashes the driver, and with MSDTC a failed connection makes the XA library use a connection it has already freed. - An error message ending in the first byte of a multibyte character leaves the SQLSTATE returned by SQLGetDiagRecW() unterminated. - When a string value did not fit the application's buffer, eight Unicode entry points filled the buffer and wrote no null terminator, so a caller that reads to the terminator, as ODBC allows, read past the end of its own buffer. This continues the fixes for CVE-2026-120058 and CVE-2026-120060, which covered other replies. The demonstrated results are crashes and heap corruption; code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.
- CVE-2026-136503Alta7.5Prioridad altaEPSS 0,57 %25 de nov de 2026
Desbordamiento de memoria en psqlODBC
psqlODBC frees memory that is still in use, frees it twice, or writes outside an application buffer in these cases: - The clean-up the driver runs at commit and rollback sends queries of its own, and the reply to one of them can start the clean-up again while it is running. The nested run frees the rollback log, or the list of cursors and prepared statements to close, and the outer run uses and frees it again. - The callback through which libpq delivers notices could run that clean-up, and close the connection, while libpq was still using the connection. - Freeing a statement whose result holds several cursors (FetchRefcursors=1, or UseDeclareFetch=1) used the freed first result while the later cursors were closed. - With UseDeclareFetch=1, after a rollback closed an updatable cursor, rows added or deleted through it were counted but not stored, so freeing the statement freed uninitialised pointers, and adding a row wrote past the keyset. - After a multi-row fetch failed on a row other than the first of its rowset, SQLGetData() wrote at an offset past the buffer the application passed. - SQLProcedureColumns() freed the result of its catalog query twice when the query failed. - In a process named sqlservr (SQL Server linked servers), a server version below 8.4 made the statement parser free a buffer twice. - A failed SQLPutData in the middle of a SQLSetPos() or SQLBulkOperations() data-at-execution sequence left the whole operation pending, with the internal statement still allocated and autocommit silently off, so later statements were rolled back at disconnect. The next positioned update ran the stale callback against a statement that was never executed and dereferenced NULL. Most of these can be triggered by a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable). A database user who can make a statement fail, or who controls the contents of a row the application reads, can trigger the UseDeclareFetch=1 and SQLGetData() cases against an honest server. The demonstrated results are crashes and heap corruption; code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.
- CVE-2026-102957Alta7.7Prioridad altaEPSS 0,19 %25 de nov de 2026
Uso de memoria liberada en zephyr
z_impl_pwm_capture_cycles() in drivers/pwm/pwm_capture.c stores its capture context (struct z_pwm_capture_cb_data, including a struct k_sem) on its own stack and registers a pointer to it as the driver capture callback's user_data. When called with a K_NO_WAIT timeout, k_sem_take() returns -EBUSY, which the function did not handle: it fell through, returned the uninitialized status field, copied uninitialized period/pulse values to the caller when that status happened to be zero, and returned without disabling the capture or clearing the callback. pwm_capture_cycles() is a system call, and z_vrfy_pwm_capture_cycles() passes the caller's timeout through unchanged. With CONFIG_USERSPACE and CONFIG_PWM_CAPTURE enabled, an unprivileged user-mode thread that has been granted access to a capture-capable PWM device can pass K_NO_WAIT to trigger the defect. Without userspace the function is only reachable from trusted application code. The uninitialized values come from the thread's privileged (kernel) stack, so a user-mode caller can read up to 8 bytes of stale kernel stack memory per call. More seriously, when the capture later completes, the driver ISR invokes z_pwm_capture_cycles_callback() with the dangling pointer. The callback writes into the expired kernel stack region and calls k_sem_give() on whatever memory now occupies it, which can corrupt live kernel stack frames and make the scheduler walk a forged wait queue. The result is kernel memory corruption from interrupt context, leading at least to a crash and possibly to privilege escalation out of the userspace sandbox. The fix rejects K_NO_WAIT with -EINVAL before any capture is configured.