CVE-2026-3285
berry-lang berry be_lexer.c scan_string out-of-bounds
- State
- Published
- Severity
- 4.8 Medium
- Published
- Feb 27, 2026
- Updated
- Feb 27, 2026
- Reserved
- Feb 26, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | 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:P | VulDB |
| 3.1 | 3.3 Low | 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 | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
berryberry-lang |
|
References
- VDB-348014 | berry-lang berry be_lexer.c scan_string out-of-boundsvdb-entrytechnical-description
- VDB-348014 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #758872 | berry-lang berry 7af8289 Buffer Overflowthird-party-advisory
- https://github.com/berry-lang/berry/issues/509issue-tracking
- https://github.com/berry-lang/berry/pull/511issue-trackingpatch
- https://github.com/oneafter/0211/blob/main/be/reproexploit
- https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176patch
- https://github.com/berry-lang/berry/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.