DEBIAN-CVE-2026-54897

Source
https://security-tracker.debian.org/tracker/CVE-2026-54897
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54897.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-54897
Upstream
  • CVE-2026-54897
Published
2026-07-01T00:16:32.983Z
Modified
2026-07-02T17:02:27.489591364Z
Severity
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. Prior to 3.17.2, Oj::Doc iterators (eachvalue, eachchild, each_leaf) were vulnerable to a heap use-after-free. When a Ruby block yielded during iteration calls doc.close or d.close, the document's heap memory is freed while the C iterator is still running. When control returns from the block, the iterator reads from the freed region, producing a use-after-free accessible from pure Ruby. This issue has been fixed in version 3.17.2.

References

Affected packages

Debian:11 / ruby-oj

Package

Name
ruby-oj
Purl
pkg:deb/debian/ruby-oj?arch=source&distro=bullseye

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.11.0-1
3.13.3-1
3.13.7-1
3.13.9-1
3.13.9-2
3.13.9-3
3.13.19-1
3.13.21-1
3.13.23-1
3.13.23-2
3.13.23-3
3.14.1-1
3.14.1-2
3.14.1-3
3.14.2-1
3.15.0-1
3.16.0-1
3.16.1-1
3.16.3-1
3.16.12-1
3.16.15-1
3.16.16-1
3.17.0-1
3.17.1-1
3.17.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54897.json"

Debian:12 / ruby-oj

Package

Name
ruby-oj
Purl
pkg:deb/debian/ruby-oj?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.14.2-1
3.15.0-1
3.16.0-1
3.16.1-1
3.16.3-1
3.16.12-1
3.16.15-1
3.16.16-1
3.17.0-1
3.17.1-1
3.17.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54897.json"

Debian:13 / ruby-oj

Package

Name
ruby-oj
Purl
pkg:deb/debian/ruby-oj?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.16.3-1
3.16.12-1
3.16.15-1
3.16.16-1
3.17.0-1
3.17.1-1
3.17.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54897.json"

Debian:14 / ruby-oj

Package

Name
ruby-oj
Purl
pkg:deb/debian/ruby-oj?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.17.3-1

Affected versions

3.*
3.16.3-1
3.16.12-1
3.16.15-1
3.16.16-1
3.17.0-1
3.17.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-54897.json"