UbuntuUpdates.org

Package "libruby3.3"

Name: libruby3.3

Description:

Libraries necessary to run Ruby 3.3

Latest version: 3.3.8-2.2ubuntu4.1
Release: stonking (26.10)
Level: security
Repository: main
Head package: ruby3.3
Homepage: https://www.ruby-lang.org/

Links


Download "libruby3.3"


Other versions of "libruby3.3" in Stonking

Repository Area Version
base main 3.3.8-2.2ubuntu4

Changelog

Version: 3.3.8-2.2ubuntu4.1 2026-11-19 21:07:20 UTC

ruby3.3 (3.3.8-2.2ubuntu4.1) stonking-security; urgency=medium

  * SECURITY UPDATE: regexp compiled program size overflow
    - debian/patches/GHSA-3p8q-wmhx-vm2w_prereq1.patch,
      GHSA-3p8q-wmhx-vm2w_prereq2.patch, GHSA-3p8q-wmhx-vm2w_prereq3.patch,
      GHSA-3p8q-wmhx-vm2w_prereq4.patch, GHSA-3p8q-wmhx-vm2w_1.patch,
      GHSA-3p8q-wmhx-vm2w_2.patch, GHSA-3p8q-wmhx-vm2w_3.patch,
      GHSA-3p8q-wmhx-vm2w_4.patch: reject overflowed repeat/null-check IDs
      (-224/-225), avoid overflow in the quantifier expansion size check,
      reject compiled regexp programs too big for their offset type (-226),
      cap the compiled program size both while emitting and while computing
      the length, check compile_length_tree() results at every call site,
      and harden BBuf size arithmetic against 32-bit overflow.
    - GHSA-3p8q-wmhx-vm2w
  * SECURITY UPDATE: double free and memory leak in char class parsing
    - debian/patches/GHSA-7x2q-68qv-6p8x.patch,
      GHSA-7x2q-68qv-6p8x_2.patch: in parse_char_class(), free the
      property buffer only once on the && error path, and also free it
      on property error paths.
    - GHSA-7x2q-68qv-6p8x
  * SECURITY UPDATE: out-of-bounds read in case-insensitive exact match
    - debian/patches/GHSA-wpqw-5qxg-m68r.patch, GHSA-wpqw-5qxg-m68r_2.patch,
      GHSA-wpqw-5qxg-m68r_3.patch, GHSA-wpqw-5qxg-m68r_4.patch,
      GHSA-wpqw-5qxg-m68r_5.patch: in match_at(), do not read the operand
      of an ignore-case exact match past the operand bounds; reject
      incomplete characters written as byte escapes in UTF-16 and
      out-of-range code points, keep an empty comment as a token
      separator, and never return a negative length from the Emacs-Mule
      case-fold.
    - GHSA-wpqw-5qxg-m68r
  * SECURITY UPDATE: out-of-bounds read in ignore-case backreferences
    - debian/patches/GHSA-pvgc-g7gj-pv6h.patch: in string_cmp_ic(), check
      the end of the subject before comparing an ignore-case
      backreference.
    - GHSA-pvgc-g7gj-pv6h
  * SECURITY UPDATE: buffer overflow in Regexp#to_s
    - debian/patches/GHSA-7whj-cfh7-xgm4.patch: preprocess the source
      with rb_reg_preprocess() before Regexp#to_s decides whether the
      option group can be omitted; the raw source can denote a
      different pattern than the preprocessed one that Regexp.new
      compiled, for example when (?#...) appears inside a character
      class.
    - GHSA-7whj-cfh7-xgm4
  * SECURITY UPDATE: heap buffer overflow in sharp-s case mapping
    - debian/patches/GHSA-34m4-m9fh-gqp5.patch: bound the sharp-s
      expansion loop in the case mapping of the 14 single-byte
      encodings so that it cannot write past the destination buffer.
    - GHSA-34m4-m9fh-gqp5
  * SECURITY UPDATE: integer overflow in String case conversion
    - debian/patches/GHSA-87fm-7w84-j2px.patch: in rb_str_casemap(),
      accumulate the total length in long and check it before adding,
      keeping each buffer within INT_MAX, and raise ArgumentError for a
      source too long to fit.
    - GHSA-87fm-7w84-j2px
  * debian/patches/match-cache-double-free.patch: fix a double free of
    the match stack when a cached match errors out mid-way; part of the
    same upstream 3.3.14 batch, reachable on armhf and i386.

 -- Allen Huang Thu, 19 Nov 2026 14:59:12 +0000




About   -   Send Feedback to @ubuntu_updates