Google outlines Secure by Design approach to memory safety, citing widespread bugs
Google says memory safety bugs are widespread and a leading cause of vulnerabilities in memory-unsafe codebases.
Covered by 2 outlets
Summary updated
- Public PoC
- Not known
- Exploited
- Not known
- Severity
- Not rated
What happened
Google published a paper arguing that high assurance memory safety requires a Secure-by-Design approach centred on adopting languages with rigorous memory safety guarantees.3
The company stated it sees no realistic path for C++ to evolve into a language with rigorous memory safety guarantees that include temporal safety.3
As a result, Google is considering a gradual transition of its C++ code towards other memory-safe languages.3
Given the large volume of existing C++, Google also considers it necessary to improve C++ safety where practicable, including a possible move to a safer subset augmented with hardware features such as MTE.3
Is there a public exploit?
Not known None of the sources mentions public exploit code yet.
Exploited in the wild?
Not known None of the sources reports attacks using it so far.
For bug hunters
Memory safety flaws such as buffer overflows, use-after-free and out-of-bounds reads remain common in C and C++ codebases. Bug bounty programmes often scope native components, parsers, media codecs and browser engines where such bugs can lead to crashes or code execution. Look for unsafe memory handling around length calculations, object lifetimes and pointer arithmetic. Fuzzing and sanitizers are useful for finding these issues.
What to test
- Fuzz input parsers and file format handlers for out-of-bounds reads and writes.
- Test object lifetime and reference counting in C++ components for use-after-free.
- Check integer overflow in size calculations before memory allocation.
- Run targets under AddressSanitizer to catch memory errors during testing.
Written by bugbounty.wiki with AI from the 2 outlets below. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
3 articles, oldest first. Each headline opens the outlet's own article.
-
1
security.googleblog.com
Eliminating Memory Safety Vulnerabilities at the Source -
2
security.googleblog.com
Safer with Google: Advancing Memory Safety -
3
research.google
Secure by Design: Google’s Perspective on Memory Safety