CVE-2026-3285
Out-of-Bounds Read in berry-lang scan_string Function
Publication date: 2026-02-27
Last updated on: 2026-03-02
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| berry-lang | berry | 1.1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-125 | The product reads data past the end, or before the beginning, of the intended buffer. |
| CWE-119 | The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the berry-lang berry software up to version 1.1.0, specifically in the function scan_string located in the file src/be_lexer.c.
The issue causes an out-of-bounds read, meaning the program reads memory outside the intended boundaries, which can lead to unexpected behavior or information disclosure.
Exploitation requires local access to the system, and the exploit has been publicly disclosed.
Applying the provided patch (identified by commit 7149c59a39ba44feca261b12f06089f265fec176) is recommended to fix this issue.
How can this vulnerability impact me? :
The vulnerability allows an attacker with local access to cause an out-of-bounds read in the berry-lang berry software.
This could potentially lead to information disclosure or program instability, although the impact is limited as the CVSS scores indicate a low severity.
There is no indication of integrity or availability impact, and the attack requires local privileges.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
The recommended immediate step to mitigate this vulnerability is to apply the provided patch named 7149c59a39ba44feca261b12f06089f265fec176.
Since the vulnerability requires local access and involves an out-of-bounds read in the scan_string function of berry-lang berry up to version 1.1.0, applying the patch is the most effective mitigation.