जमा करें #919190: marcobambini gravity v0.9.7 Out-of-Bounds Readजानकारी

शीर्षकmarcobambini gravity v0.9.7 Out-of-Bounds Read
विवरणparse_number_expression in src/compiler/gravity_parser.c checks whether a number literal uses a 0b/0o/0x prefix by testing value[0]=='0' and then unconditionally executing toupper(value[1]). When the number token is the single character '0' located at the very last byte of the source buffer (e.g. a file ending in = 0), value[1] points one byte past the end of the input, triggering a deterministic 1-byte heap out-of-bounds read. Affected versions: Gravity v0.9.7 / HEAD 17a280b83c10424597bf4d130d208b72de731c2a Severity: Medium (deterministic 1-byte heap OOB read; crash under ASan; possible 1-byte heap/redzone leak in exact-size production buffers) CWE: CWE-125 (Out-of-bounds Read)
स्रोत⚠️ https://github.com/marcobambini/gravity/issues/446
उपयोगकर्ता
 lrrh (UID 100159)
सबमिशन08/08/2026 10:03 AM (1 महीना पहले)
संयम13/09/2026 11:53 AM (1 month later)
स्थितिस्वीकृत
VulDB प्रविष्टि403270 [marcobambini Gravity तक 0.9.7 Number Parser gravity_parser.c parse_number_expression सूचना का प्रकटीकरण]
अंक20

Do you need the next level of professionalism?

Upgrade your account now!