Back to list

sqlite3-ruby: Use-After-Free in SQLite Aggregate Arguments in Heap-Allocated Argument Array — GHSA-MWM8-39RW-8826

GitHub · GitHub · GHSA-MWM8-39RW-8826

ID
GHSA-MWM8-39RW-8826
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
6.3

Summary

## Summary Using `Database#create_aggregate`, `#create_aggregate_handler`, or `Database#define_aggregator` to define an aggregate function that takes two or more arguments, and then evaluating it over TEXT or BLOB column values, can free the Ruby objects holding those arguments while a later argument is still being converted, during ordinary garbage collection. The aggregate's `step` method then receives an…

Timeline

Published by source
2026-10-02

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 6.3 out of 10.
  • Review exposure for the affected product or family: rubygems: sqlite3.

Product

rubygems: sqlite3

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-MWM8-39RW-8826
Source
GitHub
Vendor
GitHub
Published by source
2026-10-02
Last source activity
2026-10-02
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.