# CVE-2026-54900: Oj: Negative-Size memcpy in Oj::Parser create\_id Attribute Handling

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-30 · Modified: 2026-07-01
- Aliases: UBUNTU-CVE-2026-54900, DEBIAN-CVE-2026-54900, CGA-228v-8m4m-hvqq, CGA-29cq-83vw-r46p, CGA-675j-99wc-vm3w, CGA-8vrw-mx89-h96m, CGA-f897-3x2x-p8vx, CGA-mcf6-hc2c-8332, CGA-pm9v-h52j-qg6w, CGA-pxf6-ggjx-4jvg, CGA-q4mw-7hp8-6x7w, CGA-q9jj-2j65-29vr, CGA-rqc3-qxmj-qh9g, CGA-vhvf-f3m4-g9xx, CGA-vm76-fj9h-wj5c, CGA-w788-rr6g-8vjg, CGA-wgp5-jgp6-4r3w, CGA-wq5p-3v8r-4v66, CGA-2g58-3qgr-25cp, CGA-2wxf-v5f9-5qx7, CGA-3jpj-r25x-9233, CGA-3v87-g8f5-wf8w, CGA-3x2w-g7cj-ch29, CGA-5qm9-ccx9-6pjh, CGA-63r7-f9h8-54r4, CGA-6rpm-64j3-v572, CGA-7c3x-67pf-c9r6, CGA-7r97-2jrw-f6v9, CGA-8vjh-8mx8-8xx4, CGA-8wr9-479w-p374, CGA-977p-g8v6-gpvm, CGA-97h3-pw93-453r, CGA-9ggv-895v-fpfm, CGA-9m4m-jfr4-pwh9, CGA-9phc-7rcv-59r3, CGA-9q69-r5jr-552m, CGA-f72p-cj4r-5fjx, CGA-f879-2vwc-62jx, CGA-f978-vgqv-3gvq, CGA-fjg3-937x-r5mh, CGA-g58g-qmxv-hc3h, CGA-gqr7-x3r9-jc5r, CGA-h847-4pqp-5wch, CGA-hhgq-pfqw-24gp, CGA-hwf6-v4g7-8x47, CGA-jwc5-qm5p-xffq, CGA-jwvw-m3c8-54vc, CGA-jxr2-288c-c72q, CGA-mjwp-5cjc-r5pr, CGA-pg6m-8cm5-7w7j, CGA-pmwh-jmfp-32w6, GHSA-9cv6-qcjw-4grx, CGA-q35c-qgx8-365x, CGA-rchw-m6qp-m928, CGA-rqg2-c7rr-xrf9, CGA-v8j2-rm7h-hqf6, CGA-vp49-pxgc-53f8, CGA-w2v2-prfg-7h4x, CGA-w5m9-7w77-g3j9, CGA-w733-h3wc-664r, CGA-wf25-g888-xpvx, CGA-x86f-ph93-qjv9, CGA-xhx4-9f9g-m22w
- Record: https://cvemate.com/vulnerability/CVE-2026-54900 · JSON: https://cvemate.com/vulnerability/CVE-2026-54900/json

## Description

```text
Oj (Optimized JSON) is a JSON parser and Object marshaller packaged as a Ruby gem. In versions prior to 3.17.2, when in usual mode with create_id enabled, Oj::Parser#parse is vulnerable to heap corruption via a negative-size memcpy. When a JSON object key is exactly 65,535 bytes long, an integer truncation in form_attr (usual.c:63) converts the length to -1 before passing it to memcpy. This causes memcpy to copy SIZE_MAX bytes (interpreted as a huge size_t), corrupting heap memory and crashing the process. The issue has been fixed in version 3.17.2.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.516%, percentile 45.459%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 38)

- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.9 (Chainguard): All versions (No fix recorded)
- chainguard ruby3.2-fluentd-kubernetes-daemonset-1.16-kinesis (Chainguard): \< 1.16.11.1.0-r3
- chainguard ruby3.2-fluentd-kubernetes-daemonset-1.17-kinesis (Chainguard): \< 1.17.1.1.2-r10
- chainguard ruby3.2-fluentd-kubernetes-daemonset-1.18-kinesis (Chainguard): \< 1.18.0.1.5-r3
- chainguard ruby3.2-fluentd-kubernetes-daemonset-1.19-kinesis (Chainguard): \< 1.19.2.1.1-r5
- chainguard ruby3.2-kube-logging-operator-fluentd-outputs (Chainguard): \< 6.7.0-r4
- chainguard ruby3.3-fluentd-kubernetes-daemonset-1.16-kinesis (Chainguard): \< 1.16.11.1.0-r3
- chainguard ruby3.3-fluentd-kubernetes-daemonset-1.17-kinesis (Chainguard): \< 1.17.1.1.2-r9
- chainguard ruby3.3-fluentd-kubernetes-daemonset-1.18-kinesis (Chainguard): \< 1.18.0.1.5-r4

## References

- <https://github.com/ohler55/oj/security/advisories/GHSA-9cv6-qcjw-4grx>
- <https://ubuntu.com/security/CVE-2026-54900>
- <https://www.cve.org/CVERecord?id=CVE-2026-54900>
- <https://security-tracker.debian.org/tracker/CVE-2026-54900>
- <https://github.com/ohler55/oj>

---

Data as of 2026-12-05T04:44:07.568Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
