Skip to main content
VulnerabilityPublished

Mailcatcher: sqlite3-ruby: Use-After-Free

Affects mailcatcherSource GCVE Database

0

CVSS 6.3 Medium : upgrade to 0.11.0 when convenient.

Data as of 3 Oct 2026, 17:39 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.11.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

What to do

Upgrade mailcatcher to 0.11.0.

Affected software

ProductAffectedFixed in
Homebrewmailcatcherpkg:brew/mailcatcherOther threatsAffected
  • >=0.8.1 <0.11.0
Fixed in
  • 0.11.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to sqlite3 gem version 2.9.6 or later to resolve the vulnerability. There is no reliable workaround if upgrading is not possible; avoid defining aggregate functions that take two or more arguments. Restricting column value sizes is not effective as it only reduces the frequency of the defect but does not prevent it.

Description

A use-after-free vulnerability exists in the sqlite3-ruby gem when defining aggregate functions with two or more arguments evaluated over TEXT or BLOB columns. This can cause the Ruby objects holding arguments to be freed prematurely during garbage collection, leading to incorrect objects being passed to the aggregate's step method or a process crash. The vulnerability affects Mailcatcher versions from 0.8.1 up to but not including 0.11.0. The maintainers rate this as medium severity with a CVSS 4.0 score of 6.3. The issue is fixed in sqlite3 gem version 2.9.6 or later.

References

Community reviews

Loading reviews…