Skip to main content
VulnerabilityPublished

CVE-2026-3285: berry · Out-of-bounds Read

Affects berrySource CVE Database V5

0
Compare

Public exploit available · CVSS 4.8 Medium.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
berry-langberryAffected
  • =1.0
  • =1.1.0
Fixed in–
GitHubberry-lang/berrypkg:github/berry-lang/berryOther threatsAffected
  • =1.0
  • =1.1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2026-3285, organizations should immediately apply the official patch identified by commit 7149c59a39ba44feca261b12f06089f265fec176 or upgrade to a berry-lang version beyond 1.1.0 that includes the fix. Since the vulnerability requires local access, it is critical to enforce strict access controls and limit user privileges to reduce the risk of unauthorized local exploitation. Employing application whitelisting and monitoring for unusual local activity can help detect exploitation attempts. Additionally, conduct code audits and testing on any custom integrations of berry-lang to identify potential misuse of the scan_string function or similar parsing routines. For embedded systems, ensure secure firmware update mechanisms are in place to deploy patches promptly. Network segmentation and endpoint protection can further reduce the attack surface by isolating vulnerable systems. Finally, maintain an inventory of all systems using berry-lang to prioritize patching and risk assessment.

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.

References

Community reviews

Loading reviews…