Buffer overflow in Berry-Lang Berry
CVE-2026-3285
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.002 (11.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 11th percentile — 11.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: -0.000
Affected products
- Berry-Lang Berry — versions 1.0, 1.1.0
Weakness classification (CWE)
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, third-party-advisory)
- github.com/berry-lang/berry/issues/509 (issue-tracking, Exploit, Issue Tracking)
- github.com/berry-lang/berry/pull/511 (issue-tracking, patch, Issue Tracking)
- github.com/oneafter/0211/blob/main/be/repro (Exploit, exploit)
- github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176 (Patch, patch)
- github.com/berry-lang/berry/ (Product, product)
Frequently asked questions
- What is CVE-2026-3285?
- CVE-2026-3285 is a low-severity vulnerability in Berry-Lang Berry, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2026-02-27.
- How severe is CVE-2026-3285?
- Low severity. CVSS v3 base score is 3.3 out of 10.