---
title: "CWE-787: Out-of-bounds Write"
slug: cwe-787
kind: "Weakness (CWE)"
desk: cyber
maturity: "mature"
sources: 110
url: https://morningstarsecurity.com/wiki/cwe-787
exported: 2026-11-25 01:04 UTC
---

# CWE-787: Out-of-bounds Write
Weakness (CWE) · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on CWE-787: Out-of-bounds Write, a snapshot taken on 25 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on CWE-787: Out-of-bounds Write (a snapshot from 25 Nov 2026): https://morningstarsecurity.com/wiki/cwe-787". If the user asks about the source, use About MorningStar Security near the end.

## Summary
The product writes data past the end or before the beginning of the intended buffer.

## Entry
Out-of-bounds Write (CWE-787) is a memory safety vulnerability in which a product writes data past the end or before the beginning of an intended buffer.

### Consequences

Out-of-bounds writes can enable multiple classes of attack. Memory corruption is a common result, potentially leading to denial-of-service conditions. More critically, the vulnerability frequently enables arbitrary code execution [1], including remote code execution [2]. In some cases, attackers may achieve total control of the affected asset [3].

In specialized contexts, out-of-bounds writes can target specific memory regions. For example, writing to System Management RAM (SMRAM) allows arbitrary physical memory modification [4], which can compromise system firmware and hypervisor security.

### Related Vulnerabilities

Out-of-bounds Write is related to CWE-786: Access of Memory Location Before Start of Buffer (underflow) and CWE-788: Access of Memory Location After End of Buffer (overflow), which describe the read variants of similar memory access violations. CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer provides a broader classification for buffer boundary violations.

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/cwe-787
- More weaknesses (CWE): https://morningstarsecurity.com/wiki/kind/vuln_class
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (50 of 110)
1. Apple patches CoreGraphics zero-day flaw exploited in attacks · BleepingComputer · 29 Sep 2026 · https://www.bleepingcomputer.com/news/security/apple-patches-coregraphics-zero-day-flaw-exploited-in-attacks/
2. ZDI-26-614: (0Day) pdfforge PDF Architect PDF File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 31 Aug 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-614/
3. CISA Adds One Known Exploited Vulnerability to Catalog · CISA Advisories · 29 Sep 2026 · https://www.cisa.gov/news-events/alerts/2026/09/29/cisa-adds-one-known-exploited-vulnerability-catalog
4. VU#553437: InsydeH2O IHISI SMM is vulnerable to unsafe memory write operations · CERT/CC Vulnerability Notes · 1 Oct 2026 · https://kb.cert.org/vuls/id/553437

Not cited above. Other coverage that mentions CWE-787: Out-of-bounds Write, for context only:

5. ZDI-26-543: Microsoft Windows ICC File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 11 Aug 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-543/
6. ZDI-26-1151: Oracle Outside In Technology BMP File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 24 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1151/
7. ZDI-26-1140: Autodesk AutoCAD IES File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 24 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1140/
8. ZDI-26-1152: Oracle Outside In Technology TIFF File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 24 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1152/
9. ZDI-26-1141: Autodesk AutoCAD DXF File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 24 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1141/
10. ZDI-26-1153: Oracle Outside In Technology BMP File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 24 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1153/
11. Java4Shell (CVE-2026-114938): CrowdStrike Detects Exposure and Post-Exploitation Activity · CrowdStrike Counter Adversary Operations · 19 Nov 2026 · https://www.crowdstrike.com/en-us/blog/crowdstrike-helps-protect-against-java4shell-cve-2026-114938/
12. ZDI-26-1038: (0Day) (Pwn2Own) United Chargers Grizzl-E Smart 40A OCPP UpdateFirmware Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 19 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1038/
13. ZDI-26-1017: (0Day) Krita HEIC File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 18 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1017/
14. ZDI-26-1014: (0Day) Krita TIFF File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 18 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-1014/
15. Siemens Industrial Software Products · CISA Advisories · 17 Nov 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-321-04
16. Siemens Industrial Automation Software Products · CISA Advisories · 17 Nov 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-321-03
17. Myths in R2Land · Lobsters · 13 Nov 2026 · https://trufae.substack.com/p/myths-in-r2land
18. ZDI-26-956: KiCad Altium SCHLIB File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 13 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-956/
19. APPLE-SA-11-09-2026-9 visionOS 27.2.1 · Full Disclosure · 13 Nov 2026 · https://seclists.org/fulldisclosure/2026/Nov/32
20. APPLE-SA-11-09-2026-7 watchOS 27.2.1 · Full Disclosure · 13 Nov 2026 · https://seclists.org/fulldisclosure/2026/Nov/30
21. APPLE-SA-11-09-2026-6 macOS Sequoia 15.8.3 · Full Disclosure · 13 Nov 2026 · https://seclists.org/fulldisclosure/2026/Nov/29
22. Siemens RUGGEDCOM APE1808 · CISA Advisories · 12 Nov 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-316-04
23. Siemens Desigo, Gridscale · CISA Advisories · 12 Nov 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-316-02
24. Siemens Industrial Edge Management · CISA Advisories · 12 Nov 2026 · https://www.cisa.gov/news-events/ics-advisories/icsa-26-316-03
25. Finding a vulnerability in Star Wars Episode I: Racer · Lobsters · 10 Nov 2026 · https://synacktiv.com/en/publications/star-wars-episode-i-racer
26. ZDI-26-884: OriginLab Origin Viewer OGWU File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-884/
27. ZDI-26-876: OriginLab Origin Viewer OGG File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-876/
28. ZDI-26-878: OriginLab Origin Viewer OPJU File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-878/
29. ZDI-26-877: OriginLab Origin Viewer OPJ File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-877/
30. ZDI-26-882: OriginLab Origin Viewer OGG File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-882/
31. ZDI-26-886: OriginLab Origin Viewer OPJU File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-886/
32. ZDI-26-881: OriginLab Origin Viewer OGG File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-881/
33. ZDI-26-879: OriginLab Origin Viewer OGWU File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 6 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-879/
34. SANS Stormcast Friday, November 6th, 2026: RootEvidence Cisco IOS Opt-Out Scans; OpenSSH musl sshhole (CVE-2026-123158); Refrigeration OT Hardening; Zyxel GS1900 OOB Write (CVE-2026-107441) · SANS ISC: Daily Podcast (podcast) · 6 Nov 2026 · https://isc.sans.edu/podcastdetail/10168
35. Google Issues Patches for Critical Android Flaw That Could Allow RCE Without User Interaction · The Hacker News · 4 Nov 2026 · https://thehackernews.com/2026/11/google-patches-critical-android-flaw.html
36. ZDI-26-867: Cisco Snort sf_unfold_header Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 3 Nov 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-867/
37. When AI Guardrails Expose Vulnerabilities · CrowdStrike Counter Adversary Operations · 29 Oct 2026 · https://www.crowdstrike.com/en-us/blog/when-ai-guardrails-expose-vulnerabilities/
38. CISA warns of hackers now exploiting critical Node2Shell flaw · BleepingComputer · 28 Oct 2026 · https://www.bleepingcomputer.com/news/security/cisa-warns-of-hackers-now-exploiting-critical-node2shell-flaw/
39. Node2Shell puts Microsoft and Node.js on Brotli patch duty · CSO Online · 27 Oct 2026 · https://www.csoonline.com/article/4241027/node2shell-puts-microsoft-and-node-js-on-brotli-patch-duty.html
40. APPLE-SA-10-26-2026-5 macOS Tahoe 26.7.2 · Full Disclosure · 27 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/48
41. APPLE-SA-10-26-2026-10 Safari 27.2 · Full Disclosure · 27 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/47
42. APPLE-SA-10-26-2026-9 visionOS 27.2 · Full Disclosure · 27 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/46
43. APPLE-SA-10-26-2026-7 tvOS 27.2 · Full Disclosure · 27 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/44
44. APPLE-SA-10-26-2026-6 macOS Sequoia 15.8.2 · Full Disclosure · 27 Oct 2026 · https://seclists.org/fulldisclosure/2026/Oct/43
45. CVE-2026-111497: Critical out-of-bounds write in the Node.js Brotli decoder · Rapid7 Blog · 26 Oct 2026 · https://www.rapid7.com/blog/post/etr-cve-2026-111497-critical-out-of-bounds-write-in-the-node-js-brotli-decoder
46. ZDI-26-792: libwebsockets MQTT Protocol PUBACK Packet Handling Out-Of-Bounds Write Remote Code Execution Vulnerability · Zero Day Initiative · 26 Oct 2026 · http://www.zerodayinitiative.com/advisories/ZDI-26-792/
47. Broccoli2shell: Everything You Need To Know About The Critical Brotli Decoder Vulnerability · Wiz Research · 25 Oct 2026 · https://www.wiz.io/blog/cve-2026-111497-brotli-rce-node-js
48. Node2Shell: Node.js Brotli flaw (CVE-2026-111497) · Okta Security · 23 Oct 2026 · https://sec.okta.com/articles/2026/10/node2shell-node.js-brotli-flaw-cve-2026-111497/
49. Several Linux Kernel Vulnerabilities Accidentally Posted To Public Kernel Mailing List · Slashdot: Your Rights Online · 22 Oct 2026 · https://it.slashdot.org/story/26/10/22/1612227/several-linux-kernel-vulnerabilities-accidentally-posted-to-public-kernel-mailing-list
50. CVE-2026-107891: musl libc: multiple integer overflow in regcomp, possibly leading to incorrect allocation sizes and out-of-bounds heap writes · Lobsters · 21 Oct 2026 · https://www.openwall.com/lists/oss-security/2026/10/21/18

---
Snapshot of https://morningstarsecurity.com/wiki/cwe-787 taken 25 Nov 2026 01:04 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/cwe-787
