Vulnerability · Published Feb 27, 2026 · Assigned by VulDB
CVE-2026-3285berry-lang berry be_lexer.c scan_string out-of-bounds
Low 3.3
In plain English
A low-severity out-of-bounds read in berry from berry-lang. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| berry-lang | berry | 1.01.1.0 |
Weakness: CWE-125, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C
References
- VDB-348014 | berry-lang berry be_lexer.c scan_string out-of-bounds vdb-entry, technical-description
- VDB-348014 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #758872 | berry-lang berry 7af8289 Buffer Overflow third-party-advisory
- https://github.com/berry-lang/berry/issues/509 issue-tracking
- https://github.com/berry-lang/berry/pull/511 issue-tracking, patch
- https://github.com/oneafter/0211/blob/main/be/repro exploit
- https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176 patch
- https://github.com/berry-lang/berry/ product