VYPR
Unrated severityNVD Advisory· Published Aug 5, 2019· Updated Aug 5, 2024

CVE-2019-14662

CVE-2019-14662

Description

Brandy 1.20.1 has a stack-based buffer overflow in fileio_openout in fileio.c via crafted BASIC source code.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A stack-based buffer overflow in Brandy BASIC interpreter's fileio_openout function allows attackers to crash or execute arbitrary code via crafted BASIC source.

Vulnerability

Brandy BASIC interpreter version 1.20.1 contains a stack-based buffer overflow in the fileio_openout function defined in src/fileio.c at line 502. The function copies a filename into a fixed-size stack buffer when processing an OPENOUT statement, but does not properly validate the length of the input. A crafted BASIC source file with an overly long filename triggers a write beyond the buffer, as demonstrated by the attached bug report [1].

Exploitation

An attacker can exploit this vulnerability by supplying a malicious BASIC source file to the Brandy interpreter. No special privileges or authentication are required; the user only needs to run the interpreter on the crafted file. The provided reproducer causes a stack buffer overflow with a write of 445 bytes, overwriting adjacent stack memory [1].

Impact

Successful exploitation leads to memory corruption, potentially allowing an attacker to cause a denial of service (crash) or achieve arbitrary code execution in the context of the running interpreter. The bug report confirms a stack-buffer-overflow detected by AddressSanitizer [1].

Mitigation

As of the publication date, no official patch has been released for this vulnerability in Brandy 1.20.1. Users are advised to avoid running untrusted BASIC source files until a fix is available. The issue is not currently listed in CISA's Known Exploited Vulnerabilities catalog.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Brandy/Brandydescription
  • Brandy/Brandyllm-fuzzy
    Range: = 1.20.1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.