Lucene search
+L

229 matches found

Github Security Blog
Github Security Blog
•added 2026/06/19 7:36 p.m.•37 views

Oj: Use-After-Free in Oj::Parser SAJ Callback via Input Mutation

Summary Oj::Parserparse is vulnerable to a heap use-after-free when a SAJ/SAJ2 callback mutates the input JSON string during parsing. The C engine holds a raw const byte pointer into the Ruby string's internal buffer. If a callback e.g. hashstart resizes the string — for example by calling...

2.1CVSS6.5AI score0.00146EPSS
SaveExploits0References2Affected Software1
osv_ghsa
osv_ghsa
•added 2026/06/19 7:36 p.m.•43 views

GHSA-Q2GM-54R6-8FWM Oj: Use-After-Free in Oj::Parser SAJ Callback via Input Mutation

Summary Oj::Parserparse is vulnerable to a heap use-after-free when a SAJ/SAJ2 callback mutates the input JSON string during parsing. The C engine holds a raw const byte pointer into the Ruby string's internal buffer. If a callback e.g. hashstart resizes the string — for example by calling...

8.7CVSS6.5AI score0.00146EPSS
SaveExploits0References2
Github Security Blog
Github Security Blog
•added 2026/06/19 7:36 p.m.•35 views

Oj: Use-After-Free in Oj::Doc Iterators via Reentrant Close

Summary Oj::Doc iterators eachvalue, eachchild, eachleaf are 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 rea...

2.1CVSS6.4AI score0.00146EPSS
SaveExploits0References5Affected Software1
osv_ghsa
osv_ghsa
•added 2026/06/19 7:36 p.m.•28 views

GHSA-9PPP-W3G4-FH4Q Oj: Use-After-Free in Oj::Doc Iterators via Reentrant Close

Summary Oj::Doc iterators eachvalue, eachchild, eachleaf are 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 rea...

8.7CVSS6.4AI score0.00146EPSS
SaveExploits0References5
Snyk
Snyk
•added 2026/06/19 7:36 p.m.•14 views

Use After Free

Overview Affected versions of this package are vulnerable to Use After Free in the eachvalue, eachchild, or eachleaf iterators when a Ruby block executed during iteration calls the close method on the document or its child nodes. An attacker can cause memory corruption by invoking close within a...

8.2CVSS6.1AI score0.00146EPSS
SaveExploits0References2
Github Security Blog
Github Security Blog
•added 2026/06/19 7:36 p.m.•37 views

Oj: Heap Buffer Overflow in Oj.dump Exception Serialization via Large Indent

Summary Oj.dump in object mode is vulnerable to a heap buffer overflow when serializing Exception objects with a large :indent value. The serializer allocates a buffer sized for the object's attributes but does not account for the indent bytes added on each write. With indent: 5000, the...

2.1CVSS6.3AI score0.00148EPSS
SaveExploits0References2Affected Software1
osv_ghsa
osv_ghsa
•added 2026/06/19 7:36 p.m.•27 views

GHSA-35W3-PJM6-WJ95 Oj: Heap Buffer Overflow in Oj.dump Exception Serialization via Large Indent

Summary Oj.dump in object mode is vulnerable to a heap buffer overflow when serializing Exception objects with a large :indent value. The serializer allocates a buffer sized for the object's attributes but does not account for the indent bytes added on each write. With indent: 5000, the...

8.7CVSS6.3AI score0.00148EPSS
SaveExploits0References2
Snyk
Snyk
•added 2026/06/19 7:36 p.m.•19 views

Out-of-bounds Write

Overview Affected versions of this package are vulnerable to Out-of-bounds Write through recursive calls to the eachchild function when processing deeply nested input. An attacker can cause the process to crash and trigger a denial of service by supplying a specially crafted, deeply nested JSON...

8.7CVSS5.8AI score0.00278EPSS
SaveExploits0References3
Github Security Blog
Github Security Blog
•added 2026/06/19 7:35 p.m.•29 views

Oj: intern.c form_attr (uninitialized stack read)

Summary Oj.load in :object mode reads uninitialized stack memory and, for long keys, reads out of bounds when parsing a JSON object whose key is 254 bytes or longer. The interned bytes can surface to the caller, disclosing process stack memory. Details In ext/oj/intern.c, formattr handles the...

5.3CVSS5.9AI score0.00198EPSS
SaveExploits0References2Affected Software1
osv_ghsa
osv_ghsa
•added 2026/06/19 7:35 p.m.•24 views

GHSA-FM7P-MPRW-WJM9 Oj: intern.c form_attr (uninitialized stack read)

Summary Oj.load in :object mode reads uninitialized stack memory and, for long keys, reads out of bounds when parsing a JSON object whose key is 254 bytes or longer. The interned bytes can surface to the caller, disclosing process stack memory. Details In ext/oj/intern.c, formattr handles the...

5.3CVSS5.9AI score0.00198EPSS
SaveExploits0References2
osv_ghsa
osv_ghsa
•added 2026/06/19 7:35 p.m.•25 views

GHSA-3V45-F3VH-WG7M Oj: Stack Buffer Overflow in Oj.dump via Large Indent

Summary Oj.dump is vulnerable to a stack-based buffer overflow when a large :indent value is provided by the developer. fillindent in dump.h calls memsetindentstr, ' ', sizetopts-indent without validating the size. When opts-indent is set to INTMAX 2,147,483,647, the sizet cast preserves the larg...

8.7CVSS6.3AI score0.00338EPSS
SaveExploits0References2
Github Security Blog
Github Security Blog
•added 2026/06/19 7:35 p.m.•27 views

Oj: Stack Buffer Overflow in Oj.dump via Large Indent

Summary Oj.dump is vulnerable to a stack-based buffer overflow when a large :indent value is provided by the developer. fillindent in dump.h calls memsetindentstr, ' ', sizetopts-indent without validating the size. When opts-indent is set to INTMAX 2,147,483,647, the sizet cast preserves the larg...

6.3CVSS6.3AI score0.00338EPSS
SaveExploits0References2Affected Software1
Github Security Blog
Github Security Blog
•added 2026/06/19 7:34 p.m.•28 views

Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle

Summary Disabling symbolkeys on a reused Oj::Parser instance triggers a heap use-after-free. When symbolkeys is toggled from true to false, optsymbolkeysset frees the internal key cache cachefree but does not clear the pointer. The next parse call reads from the freed cache via cacheintern,...

6.3CVSS6.3AI score0.00333EPSS
SaveExploits0References5Affected Software1
Snyk
Snyk
•added 2026/06/19 7:34 p.m.•13 views

Use After Free

Overview Affected versions of this package are vulnerable to Use After Free in the optsymbolkeysset. An attacker can cause the application to read from freed memory by toggling the symbolkeys option from true to false on a reused parser instance and then invoking the parse method. Remediation...

8.7CVSS5.9AI score0.00333EPSS
SaveExploits0References2
osv_ghsa
osv_ghsa
•added 2026/06/19 7:34 p.m.•28 views

GHSA-2CW7-V8FF-P88R Oj: Use-After-Free in Oj::Parser Symbol Key Cache Toggle

Summary Disabling symbolkeys on a reused Oj::Parser instance triggers a heap use-after-free. When symbolkeys is toggled from true to false, optsymbolkeysset frees the internal key cache cachefree but does not clear the pointer. The next parse call reads from the freed cache via cacheintern,...

8.7CVSS6.3AI score0.00333EPSS
SaveExploits0References5
Positive Technologies
Positive Technologies
•added 2026/06/19 12:00 a.m.•31 views

PT-2026-51084

Name of the Vulnerable Software and Affected Versions oj gem affected versions not specified Description A heap use-after-free occurs in Oj::Parserparse when a SAJ/SAJ2 callback mutates the input JSON string during the parsing process. The C engine maintains a raw pointer to the Ruby string's...

8.7CVSS6.2AI score0.00146EPSS
SaveExploits0References5
Positive Technologies
Positive Technologies
•added 2026/06/19 12:00 a.m.•28 views

PT-2026-51089

Name of the Vulnerable Software and Affected Versions Oj versions prior to 3.17.2 Description Oj is a JSON parser and Object marshaller for Ruby. The Oj.load function is susceptible to heap corruption when processing a JSON string exceeding 2 GB. An integer overflow occurs within the buf append...

8.7CVSS6.3AI score0.00333EPSS
SaveExploits0References4
RubySec
RubySec
•added 2026/06/19 12:00 a.m.•39 views

Oj - Use-After-Free in Oj::Parser SAJ Callback via Input Mutation

Summary Oj::Parserparse is vulnerable to a heap use-after-free when a SAJ/SAJ2 callback mutates the input JSON string during parsing. The C engine holds a raw const byte pointer into the Ruby string's internal buffer. If a callback e.g. hashstart resizes the string — for example by calling...

2.1CVSS6.3AI score0.00146EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/06/19 12:00 a.m.•27 views

Oj - Negative-Size memcpy in 'Oj::Parser' create_id Attribute Handling

Summary Oj::Parserparse in usual mode with createid enabled 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 formattr usual.c:63 converts the length to -1 before passing it to memcpy. This causes memcpy to...

6.3CVSS6.5AI score0.00447EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2026/06/19 12:00 a.m.•26 views

Oj - Use-After-Free in Oj::Doc Iterators via Reentrant Close

Summary Oj::Doc iterators eachvalue, eachchild, eachleaf are 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 rea...

2.1CVSS6.2AI score0.00146EPSS
SaveExploits0References1Affected Software1
Rows per page
Query Builder