Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2017-14064
ruby-lang ruby

Score9.8 Critical
CVSS 3.0
Exploit probability (EPSS)9.4%
within the next 30 days
CategoryMemory corruption
Published31 August 2017
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Buffer bounds violation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which is not the length stored in space_len.

CVSS: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-119 – Buffer bounds violation

Affected products

VendorProductVersions
ruby-langruby<=2.2.7
ruby-langruby2.3.0
ruby-langruby2.3.1
ruby-langruby2.3.2
ruby-langruby2.3.3
ruby-langruby2.3.4
ruby-langruby2.4.0
ruby-langruby2.4.1
debiandebian linux8.0
debiandebian linux9.0
canonicalubuntu linux14.04
canonicalubuntu linux16.04
canonicalubuntu linux17.10
redhatenterprise linux desktop7.0
redhatenterprise linux server7.0
redhatenterprise linux server aus7.4
redhatenterprise linux server aus7.6
redhatenterprise linux server eus7.4
redhatenterprise linux server eus7.5
redhatenterprise linux server eus7.6
redhatenterprise linux server tus7.4
redhatenterprise linux server tus7.6
redhatenterprise linux workstation7.0

Sources

Latest in the same category

  • CVE-2026-140037 High 7.1
    GPAC through 26.07.0 contains a stack-based buffer overflow in SDP_IsDynamicPayload() in src/ietf/sdp.c that allows attackers to overflow a 10-byte stack buffer via out-of-range rtpmap payload types. Attackers can…
    Memory corruption · 30 November 2026
  • CVE-2026-140036 Medium 6.8
    GPAC through 26.07.0 contains a NULL pointer dereference vulnerability in gf_scene_ns_new() in src/compositor/scene_ns.c that passes unchecked gf_url_concatenate() results to strchr(). Attackers can supply a crafted…
    Memory corruption · 30 November 2026
  • CVE-2026-140035 Medium 6.8
    Fraunhofer HHI VVdeC 3.3.0 contains a NULL pointer dereference vulnerability in Picture::getSubPicBuf() that allows attackers to crash the decoder via broken reference pictures. Attackers can supply a crafted…
    Memory corruption · 30 November 2026
  • CVE-2026-140034 Medium 6.8
    Fraunhofer HHI VVdeC 3.3.0 contains a NULL pointer dereference vulnerability in DecLibParser::xDecodeSliceHead() that allows attackers to crash the decoder by supplying crafted VVC bitstreams. Attackers can leave a…
    Memory corruption · 30 November 2026
  • CVE-2026-140033 High 8.6
    Shift Crypto BitBox02 firmware before 9.26.2 and bootloader before 1.2.0 contain an out-of-bounds write in hid_req() that ignores buffer size for HID SET_REPORT requests. Malicious host software can send a SET_REPORT…
    Memory corruption · 30 November 2026
  • CVE-2026-125628 High 7.5
    A **type confusion** has been found in the ldapsrv_do_call() function in ldap_backend.c of the LDAP server in the **Samba** package. The function reads an extended response as an extended request while checking a…
    Memory corruption · 30 November 2026