Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.

Android JSON Library Crashes When Writing to Array

published 3 years ago
Summary

The Android JSON library can crash if it's used to write a JSONArray to a string, which can cause an app to stop working unexpectedly. If your app uses this library to generate JSON strings from arrays, you may experience crashes. To fix this, update to a newer version of the library that addresses this issue.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
OSS-Fuzz – spring-boot All versions
Original advisory text
Security exception in org.json.JSONArray.writeTo
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61747

```
Crash type: Security exception
Crash state:
org.json.JSONArray.writeTo
org.json.JSONStringer.value
org.json.JSONStringer.peek
```
Timeline
Published26 Aug 2023
Updated29 Mar 2026
First seen29 Mar 2026
Sources
OSV-2023-742 · OSV
Track software like this
Free during beta