A vulnerability was determined in berry-lang berry up to 1.1.0. The affected element is the function scanstring of the file src/belexer.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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3285.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "171909988789556060815880846552433693707",
"length": 527.0
},
"source": "https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176",
"signature_type": "Function",
"id": "CVE-2026-3285-0af35d71",
"target": {
"file": "src/be_lexer.c",
"function": "scan_string"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"158807579498153835044010150474020024592",
"196127997163451423732466084733066000552",
"326115317715822798537160605998773527020",
"284513134435939560701406010489424611567"
]
},
"source": "https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176",
"signature_type": "Line",
"id": "CVE-2026-3285-3b3d83b7",
"target": {
"file": "src/be_lexer.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"200123996703519491286523834886868032691",
"264960970511847308578059668493816500019",
"144918738726185877807504602889873033344",
"106659540769191730938905014706470239641",
"289912598733419863931404018143882904519",
"243748564966822156717794339939290823973",
"30295754120311536244214602692123550702",
"260090756479401332349881312885170561153",
"104401179505788755898332766053001361639",
"47624470960068159401329109252413971309",
"136577907361952520390700692552107287751",
"256707749711657831059748781685047294057"
]
},
"source": "https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176",
"signature_type": "Line",
"id": "CVE-2026-3285-e638f329",
"target": {
"file": "src/be_strlib.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "42461745822142710209225595774792749759",
"length": 421.0
},
"source": "https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176",
"signature_type": "Function",
"id": "CVE-2026-3285-efce2278",
"target": {
"file": "src/be_strlib.c",
"function": "get_mode"
}
}
]