Skip to main content

Security exception in com.alibaba.fastjson2.JSONReader.readArray

0
Medium
Published: 07/15/2025 (07/15/2025, 00:09:03 UTC)
Source: GCVE Database
Product: fastjson2

Description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=431584944 ``` Crash type: Security exception Crash state: com.alibaba.fastjson2.JSONReader.readArray java.base/java.nio.charset.CharsetEncoder.<init> java.base/java.nio.charset.CharsetEncoder.<init> ```

Affected software

OSS-Fuzzmore threats →ghsa
fastjson2
pkg:generic/fastjson2
Affected versions
>=ba639bab97dc16ecf66b1baed971227190cbad24=2.0.32=2.0.33=2.0.34.1.android4=2.0.34.android4=2.0.35=2.0.35.android4=2.0.36=2.0.36.android4=2.0.37=2.0.37.android4=2.0.38.android4=2.0.39=2.0.39.android4=2.0.40=2.0.40.android4=2.0.41=2.0.41.android4=2.0.42=2.0.42.android=2.0.43=2.0.43.android4=2.0.44=2.0.44.android=2.0.45=2.0.45.android4=2.0.46=2.0.46.android4=2.0.46.android5=2.0.46.android8=2.0.47=2.0.47.android5=2.0.47.android8=2.0.48=2.0.48.android5=2.0.48.anroid8=2.0.49=2.0.49.android5=2.0.49.android8=2.0.50=2.0.50.android4=2.0.50.android8=2.0.51=2.0.51.android5=2.0.51.android8=2.0.52=2.0.52.android5=2.0.52.android8=2.0.53=2.0.53.android5=2.0.53.android8=2.0.54=2.0.54.android5=2.0.54.android8=2.0.55=2.0.55.android5=2.0.55.android8=2.0.56=2.0.56.android5=2.0.56.android8=2.0.57=2.0.57.android5=2.0.57.android8=2.0.58=2.0.58.android5=2.0.58.android8=2.0.59=2.0.59.android5=2.0.59.android8=2.0.60=2.0.60.android=2.0.60.android5=2.0.60.android8=2.0.61.android5=2.0.61.android8=2.0.63=2.0.63.android5=2.0.63.android8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 07:32:59 UTC

Technical Analysis

The vulnerability involves a security exception crash occurring in the JSONReader.readArray method of the fastjson2 library, as identified by OSS-Fuzz. The crash stack trace implicates the java.nio.charset.CharsetEncoder constructor, suggesting an issue during character set encoding initialization when reading JSON arrays. The affected versions include a wide range of fastjson2 releases from 2.0.32 through 2.0.63 and their Android variants. No further technical details, such as root cause or exploitability, are provided in the available data.

Potential Impact

The impact is a security exception crash in the JSON parsing functionality of fastjson2, which could potentially lead to denial of service or application instability when processing certain JSON inputs. No evidence of code execution or data leakage is provided. No known exploits have been reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fixes or patches have been referenced in the available data. Users should monitor the fastjson2 project and OSS-Fuzz reports for updates and apply any forthcoming patches promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
OSV-2025-547
Osv Schema Version
1.7.3
Ecosystems
["OSS-Fuzz"]

Threat ID: 6a6ae5639c2644c7f89b4f9c

Added to database: 07/30/2026, 05:47:15 UTC

Last enriched: 07/30/2026, 07:32:59 UTC

Last updated: 09/09/2026, 17:43:09 UTC

Views: 178

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses