Skip to content

Add 7 Ruby Regexp/String advisories (2026-11-18) - #1325

Merged
jasnow merged 3 commits into
rubysec:masterfrom
bdewater-thatch:ruby-regexp-string-vulns-2026-11
Nov 20, 2026
Merged

jasnow merged 3 commits into
rubysec:masterfrom
bdewater-thatch:ruby-regexp-string-vulns-2026-11

Conversation

@bdewater-thatch

@bdewater-thatch bdewater-thatch commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds advisories for the seven vulnerabilities in Ruby's Regexp engine and String case conversion announced in https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/

GHSA Title GitHub severity
GHSA-34m4-m9fh-gqp5 / CVE-2026-132825 Heap buffer overflow in case conversion of strings critical
GHSA-7x2q-68qv-6p8x Double free in regular expression compilation critical
GHSA-3p8q-wmhx-vm2w Heap buffer overflow in regular expression compilation critical
GHSA-87fm-7w84-j2px Integer overflow in case conversion of strings high
GHSA-wpqw-5qxg-m68r Out-of-bounds read in case-insensitive regular expression matching high
GHSA-7whj-cfh7-xgm4 Heap buffer overflow in Regexp#to_s high
GHSA-pvgc-g7gj-pv6h Out-of-bounds read in case-insensitive backreference matching medium

Fixed in Ruby 3.3.14, 3.4.13 and 4.0.10 (patched_versions: ~> 3.3.14, ~> 3.4.13, >= 4.0.10), per the version ranges on each GitHub advisory.

Notes:

  • CVE-2026-132825 has been assigned to GHSA-34m4-m9fh-gqp5 (file renamed, NVD CVSS v3 7.4 added). CVE IDs for the other six are still pending, so those files remain named by GHSA ID.
  • No CVSS scores are published yet for the other six, so cvss_v3 is omitted there; the GitHub severity is recorded in notes.

bundle exec rspec and yamllint gems rubies pass locally.

Adds advisories for the vulnerabilities announced in
https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/

Fixed in Ruby 3.3.14, 3.4.13 and 4.0.10. CVE IDs are pending, so the
files are named by GHSA ID.
@jasnow

jasnow commented Nov 19, 2026

Copy link
Copy Markdown
Member

FYI: GHSA-8452-w857-wpmw

@jasnow
jasnow requested review from flavorjones and simi November 19, 2026 15:45
@bdewater-thatch

Copy link
Copy Markdown
Contributor Author

Thanks, adding!

CVE-2026-132825 (GHSA-8452-w857-wpmw) has been assigned to the one-byte
heap buffer overflow in string case conversion. Add the CVE ID, the
NVD CVSS v3 score (7.4) and related references.
@jasnow

jasnow commented Nov 19, 2026

Copy link
Copy Markdown
Member

Found in Ruby Weekly: https://durendal.sh/blog/ruby-case-mapping-bugs

@bdewater-thatch

Copy link
Copy Markdown
Contributor Author

Thanks, I added that and https://verialabs.com/ruby2shell/ as two independent write-ups of the issue.

@jasnow

jasnow commented Nov 20, 2026

Copy link
Copy Markdown
Member

@bdewater-thatch

Copy link
Copy Markdown
Contributor Author

@jasnow do you want me to add this? I'm not familiar with the exact criteria for when something is deemed merge ready, but waiting for every cloud provider's mitigation documentation seems counterproductive to me.

@jasnow

jasnow commented Nov 20, 2026

Copy link
Copy Markdown
Member

@jasnow do you want me to add this? I'm not familiar with the exact criteria for when something is deemed merge ready, but waiting for every cloud provider's mitigation documentation seems counterproductive to me.

I just want to add to your PR. My guess is you will get a review this weekend.

@jasnow
jasnow removed the request for review from flavorjones November 20, 2026 18:32
@jasnow
jasnow merged commit 5a92bcf into rubysec:master Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants