CVE-2026-3285 Details
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.
A vulnerability allowing out-of-bounds read has been identified in Berry-Lang Berry versions through 1.1.0. The issue arises in the 'scan_string' function within 'src/be_lexer.c', where the code can read past the intended buffer under certain conditions. This vulnerability requires local access to exploit and has been publicly disclosed, with an available proof-of-concept exploit.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/berry-lang/berry/ | [email protected] | Product |
| https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176 | [email protected] | Patch |
| https://github.com/berry-lang/berry/issues/509 | [email protected] | ExploitIssue Tracking |
| https://github.com/berry-lang/berry/pull/511 | [email protected] | Issue Tracking |
| https://github.com/oneafter/0211/blob/main/be/repro | [email protected] | Exploit |
| https://vuldb.com/?ctiid.348014 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.348014 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.758872 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| berry-lang berry | 1.1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 2, 2026 | Initial Analysis | [email protected] |
| Feb 27, 2026 | New CVE Received | [email protected] |