llamaCVEVulnerability Intelligence
/
Ruby

CVE-2026-132825

Ruby heap buffer overflow in string case conversion

A local attacker with no login or user action can corrupt memory by writing one byte past a buffer.

Specific setups onlyParche disponibleheap buffer overflow
Descargar PNG JSON
CVSS 3.1
7.4
Alta
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos11 fuente
Parche3 versiones3.3.14 · 3.4.13 · 4.0.10
Exposición8 hDesde la divulgación, 19 nov 2026, 1:34 a. m.
Detección9 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD
Fuente: PoC-in-GitHub +1
01:34 a. m.
02:21 a. m.
09:01 a. m.
01:34 a. m.
03:27 a. m.
05:21 a. m.
07:15 a. m.
09:08 a. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-132825 divulgada · CVSS 7.4 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: PoC-in-GitHub Registro visto por primera vez en PoC-in-GitHub
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

Ruby, before the fixed releases listed in its advisory, has a heap-based buffer overflow during case conversion that can write one byte outside a buffer when handling encodings such as ISO-8859-1 or Windows-1252. An attacker with local access, and no login or user action needed, can use it to corrupt memory.

Affects Ruby 3.3.13 and earlier, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9 when changing the case of strings in single-byte encodings such as ISO-8859-1. Fixed in 3.3.14, 3.4.13, and 4.0.10.

¿Qué significa?Changing the case of a string in some single-byte encodings makes Ruby write one byte past the end of an output buffer, which is a heap-based buffer overflow. The advisory says this may allow remote code execution.
¿Quién está afectado?Ruby 3.3.13 and earlier, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9 are affected, and the bug is hit when changing the case of a string in single-byte encodings such as ISO-8859-1 or Windows-1252. To check a Ruby install, run ruby -v for the version and look at the string encodings the code uses.
¿Qué hacer?Upgrade to Ruby 3.3.14, 3.4.13, or 4.0.10, matching the release line in use.
Descripción original del registro (mitre)

Ruby before 3.3.14, 3.4.13, and 4.0.10 has a heap-based buffer overflow during case conversion. One byte can be written outside a buffer for, for example, ISO-8859-1 or Windows-1252.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Ruby 3.3.13 and earlier are affected.“Ruby 3.3.13 and earlier”
02
Ruby 3.4.0 through 3.4.12 are affected.“Ruby 3.4.0 through 3.4.12”
03
Ruby 4.0.0 through 4.0.9 are affected.“Ruby 4.0.0 through 4.0.9”
04
The bug is hit when changing the case of a string in single-byte encodings such as ISO-8859-1 or Windows-1252.“When changing the case of a string in some single-byte encodings, such as ISO-8859-1 and Windows-1252”
¿Quién debe revisar?Teams running Ruby 3.3.13 or earlier, 3.4.0 through 3.4.12, or 4.0.0 through 4.0.9 that change the case of strings in ISO-8859-1 or Windows-1252.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
Ruby< 3.3.14
Ruby≥ 3.4.0 < 3.4.13
Ruby≥ 4.0.0 < 4.0.10
3.3.14
3.4.0
3.4.13
4.0.0
4.0.10
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Ruby
Corregida 3.3.14, 3.4.13, 4.0.10 — —
Versiones corregidas3.3.143.4.134.0.10
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
—
0
PoC en GitHub
evenomn/CVE-2026-132825
1
Ver los 1 repositorios de GitHub
evenomn/CVE-2026-132825

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Registro
EscenarioGENERALmitre
Referencias
Fabricantehttps://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5
Exploithttps://github.com/evenomn/CVE-2026-132825
Otrahttps://news.ycombinator.com/item?id=50554038
Otrahttps://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.