Skip to content

Commit 42ffc85

Browse files
jasnowRubySec CI
authored andcommitted
Updated advisory posts against rubysec/ruby-advisory-db@93673c3
1 parent 43853b4 commit 42ffc85

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: advisory
3+
title: 'GHSA-mwm8-39rw-8826 (sqlite3): Use-After-Free in SQLite Aggregate Arguments
4+
in Heap-Allocated Argument Array'
5+
comments: false
6+
categories:
7+
- sqlite3
8+
advisory:
9+
gem: sqlite3
10+
ghsa: mwm8-39rw-8826
11+
url: https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-mwm8-39rw-8826
12+
title: Use-After-Free in SQLite Aggregate Arguments in Heap-Allocated Argument Array
13+
date: 2026-08-11
14+
description: |-
15+
## Summary
16+
17+
Using Database#create_aggregate, #create_aggregate_handler, or
18+
Database#define_aggregator to define an aggregate function that takes
19+
two or more arguments, and then evaluating it over TEXT or BLOB column
20+
values, can free the Ruby objects holding those arguments while a
21+
later argument is still being converted, during ordinary garbage
22+
collection. The aggregate's step method then receives an incorrect
23+
object, or the process crashes with a segmentation fault.
24+
25+
## Credits
26+
27+
Reported by Jeremy Daer (@jeremy).
28+
cvss_v4: 6.3
29+
unaffected_versions:
30+
- "< 1.4.0"
31+
patched_versions:
32+
- ">= 2.9.6"
33+
related:
34+
url:
35+
- https://rubygems.org/gems/sqlite3/versions/2.9.6
36+
- https://github.com/sparklemotion/sqlite3-ruby/blob/main/CHANGELOG.md#296--2026-08-11
37+
- https://github.com/sparklemotion/sqlite3-ruby/security/advisories/GHSA-mwm8-39rw-8826
38+
notes: |
39+
- cvss_v4 from repo GHSA URL.
40+
- No CVE in repo GHSA URL.
41+
---

0 commit comments

Comments
 (0)