Skip to content

Commit 93673c3

Browse files
authored
Merge pull request #1207 from jasnow/sqlite3-adv
One new sqlite3 advisory @flavorjones - Thanks for reviewing and approving the PR.
2 parents 41fc67a + 36a9097 commit 93673c3

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)