CVE-2026-3285: berry · Out-of-bounds Read
Affects berrySource CVE Database V5
Public exploit available · CVSS 4.8 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| berry-langberry | Affected
| Fixed in– |
GitHubberry-lang/berrypkg:github/berry-lang/berryOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-3285, organizations should immediately apply the official patch identified by commit 7149c59a39ba44feca261b12f06089f265fec176 or upgrade to a berry-lang version beyond 1.1.0 that includes the fix. Since the vulnerability requires local access, it is critical to enforce strict access controls and limit user privileges to reduce the risk of unauthorized local exploitation. Employing application whitelisting and monitoring for unusual local activity can help detect exploitation attempts. Additionally, conduct code audits and testing on any custom integrations of berry-lang to identify potential misuse of the scan_string function or similar parsing routines. For embedded systems, ensure secure firmware update mechanisms are in place to deploy patches promptly. Network segmentation and endpoint protection can further reduce the attack surface by isolating vulnerable systems. Finally, maintain an inventory of all systems using berry-lang to prioritize patching and risk assessment.
Description
A vulnerability was determined in berry-lang berry up to 1.1.0. The affected element is the function scan_string of the file src/be_lexer.c. This manipulation causes out-of-bounds read. The attack requires local access. The exploit has been publicly disclosed and may be utilized. Patch name: 7149c59a39ba44feca261b12f06089f265fec176. Applying a patch is the recommended action to fix this issue.
References
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- github.com/berry-lang/berry/issues/509 (opens in a new tab)
- github.com/berry-lang/berry/pull/511 (opens in a new tab)
- github.com/oneafter/0211/blob/main/be/repro (opens in a new tab)
- github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176 (opens in a new tab)
- github.com/berry-lang/berry/ (opens in a new tab)