{"id":"CVE-2026-3285","state":"PUBLISHED","title":"berry-lang berry be_lexer.c scan_string out-of-bounds","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.","publishedAt":"2026-02-27T03:02:13.772Z","updatedAt":"2026-02-27T18:50:12.298Z","severity":{"score":4.8,"label":"Medium","version":"4.0","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","source":"VulDB"},"assigner":"VulDB","products":["berry-lang berry"],"affected":[{"vendor":"berry-lang","product":"berry","versions":[{"version":"1.0","status":"affected"},{"version":"1.1.0","status":"affected"}]}],"references":["https://vuldb.com/?id.348014","https://vuldb.com/?ctiid.348014","https://vuldb.com/?submit.758872","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","https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176","https://github.com/berry-lang/berry/"],"weaknesses":["CWE-125","CWE-119"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/3xxx/CVE-2026-3285.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-3285","state":"PUBLISHED","datePublished":"2026-02-27T03:02:13.772Z","dateUpdated":"2026-02-27T18:50:12.298Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-02-26T16:38:46.941Z"},"containers":{"cna":{"title":"berry-lang berry be_lexer.c scan_string out-of-bounds","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"berry-lang","product":"berry","versions":[{"version":"1.0","status":"affected"},{"version":"1.1.0","status":"affected"}]}],"references":[{"url":"https://vuldb.com/?id.348014","name":"VDB-348014 | berry-lang berry be_lexer.c scan_string out-of-bounds","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.348014","name":"VDB-348014 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.758872","name":"Submit #758872 | berry-lang berry 7af8289 Buffer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/berry-lang/berry/issues/509","tags":["issue-tracking"]},{"url":"https://github.com/berry-lang/berry/pull/511","tags":["issue-tracking","patch"]},{"url":"https://github.com/oneafter/0211/blob/main/be/repro","tags":["exploit"]},{"url":"https://github.com/berry-lang/berry/commit/7149c59a39ba44feca261b12f06089f265fec176","tags":["patch"]},{"url":"https://github.com/berry-lang/berry/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.3,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.3,"vectorString":"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","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":1.7,"vectorString":"AV:L/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"Out-of-Bounds Read"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-02-27T03:02:13.772Z"},"timeline":[{"time":"2026-02-26T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-02-26T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-02-26T17:44:00.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Oneafter (VulDB User)","type":"reporter"}],"tags":["x_open-source"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-27T18:50:03.219883Z","id":"CVE-2026-3285","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-27T18:50:12.298Z"}}]}}}