CVE-2026-3285 MEDIUM

CVE-2026-3285: berry-lang berry be_lexer.c scan_string out-of-bounds

Vendor Berry-Lang
Product berry
Weakness CWE-125
Published February 27, 2026
Last update February 27, 2026

CVSS base score

4.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 27, 2026 CVE published
February 27, 2026 Record updated