CVE-2026-3285
published medium CVSS 4.0 · 4.8berry-lang berry be_lexer.c scan_string out-of-bounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| berry-lang | — | berry1.0 · 1.1.0 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.3 | low | VulDB · cna | 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 | — |
| 3.0 | 3.3 | low | VulDB · cna | 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 | — |
| 2.0 | 1.7 | low | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| berry-lang | berry | 1.0 (affected)1.1.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-125 Out-of-Bounds Read
- CWE-119 Memory Corruption
References
8- https://github.com/berry-lang/berry/
- https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176
- https://github.com/berry-lang/berry/issues/509
- https://github.com/berry-lang/berry/pull/511
- https://github.com/oneafter/0211/blob/main/be/repro
- VDB-348014 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/?ctiid.348014
- VDB-348014 | berry-lang berry be_lexer.c scan_string out-of-bounds https://vuldb.com/?id.348014
- Submit #758872 | berry-lang berry 7af8289 Buffer Overflow https://vuldb.com/?submit.758872
Provider assertions
2VulDB · cna
berry-lang berry be_lexer.c scan_string out-of-bounds
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 29d3c8a51edd50936c0251c1237e0ba67807e2b4d79a431ed3bfa19ce5f98e56
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record