CyberSecBulletin

Out-of-bounds Write

CWE-787

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

We track 5,886 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.3. 167 have been exploited in real attacks.

How this weakness is prevented

  • Requirements: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
  • Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
  • Operation Build and Compilation: Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
  • Operation: Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Execution Prevention) from D3FEND.
  • Implementation: Replace unbounded copy functions with analogous functions that support length arguments, such as strcpy with strncpy. Create these if they are not available.

Latest Out-of-bounds Write vulnerabilities

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42410PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42405PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42403PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42400PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42395PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42394PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42382PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42381PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42380PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42378PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42377PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42373PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42371PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-42370PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-41151PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-41149PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-41148PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-41147PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-41144PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 7.8 High severity

    PDF-XChange Editor: Out-of-bounds Write

    CVE-2022-41143PDF-XChange

    This vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specif

  • 8.8 High severity

    Multiple Routers: Out-of-bounds Write

    CVE-2022-41140D-LinkEPSS 1.13%

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of multiple D-Link routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the lighttpd service, which liste

  • 8.8 High severity

    DIR-2150: Out-of-bounds Write

    CVE-2022-40718D-Link

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP port

  • 8.8 High severity

    DIR-2150: Out-of-bounds Write

    CVE-2022-40717D-Link

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the anweb service, which listens on TCP port

  • 8.8 High severity

    tew-820ap_firmware: Out-of-bounds Write

    CVE-2023-24099TRENDnetEPSS 1.08%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the username parameter at /formWizardPassword. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOT

  • 8.8 High severity

    Tew-820ap Firmware: Out-of-bounds Write

    CVE-2023-24098TRENDnetEPSS 1.08%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the submit-url parameter at /formSysLog. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOTE: Thi

  • 8.8 High severity

    Tew-820ap Firmware: Out-of-bounds Write

    CVE-2023-24097TRENDnetEPSS 1.08%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the submit-url parameter at /formPasswordAuth. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOT

  • 8.8 High severity

    Tew-820ap Firmware: Out-of-bounds Write

    CVE-2023-24096TRENDnetEPSS 1.08%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the newpass parameter at /formPasswordSetup. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOTE:

  • 8.8 High severity

    Tew-820ap Firmware: Out-of-bounds Write

    CVE-2023-24095TRENDnetEPSS 1.08%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the submit-url parameter at /formSystemCheck. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOTE

  • 8.8 High severity

    tew-820ap_firmware: Out-of-bounds Write

    CVE-2022-47065TRENDnetEPSS 1.14%

    TrendNet Wireless AC Easy-Upgrader TEW-820AP v1.0R, firmware version 1.01.B01 was discovered to contain a stack overflow via the submit-url parameter at /formNewSchedule. This vulnerability allows attackers to execute arbitrary code via a crafted payload. NOTE

  • 7.8 High severity

    Common Desktop Environment: Out-of-bounds Write

    CVE-2023-24039Opengroup

    A stack-based buffer overflow in ParseColors in libXm in Common Desktop Environment 1.6 can be exploited by local low-privileged users via the dtprintinfo setuid binary to escalate their privileges to root on Solaris 10 systems. NOTE: This vulnerability only a

  • 9.8 Critical severity

    sofia-sip: Out-of-bounds Write

    CVE-2023-22741FreeswitchEPSS 2.48%

    Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification. In affected versions Sofia-SIP **lacks both message length and attributes length checks** when it handles STUN packets, leading to controllable heap-over-flow. F

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2023-21609AdobeEPSS 2.1%

    Adobe Acrobat Reader versions 22.003.20282 (and earlier), 22.003.20281 (and earlier) and 20.005.30418 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitat

  • 7.8 High severity

    Acrobat Reader: Out-of-bounds Write

    CVE-2023-21606AdobeEPSS 2.47%

    Adobe Acrobat Reader versions 22.003.20282 (and earlier), 22.003.20281 (and earlier) and 20.005.30418 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitat

  • 7.5 High severity

    CPG BIOS: Out-of-bounds Write

    CVE-2022-34401Dell

    Dell BIOS contains a stack based buffer overflow vulnerability. A local authenticated malicious user may potentially exploit this vulnerability by using an SMI to send larger than expected input to a parameter in order to gain arbitrary code execution in SMRAM

  • 9.8 Critical severity

    RTLS Studio: Out-of-bounds Write

    CVE-2022-41989Sewio

    Sewio’s Real-Time Location System (RTLS) Studio version 2.0.0 up to and including version 2.6.2 does not validate the length of RTLS report payloads during communication. This allows an attacker to send an exceedingly long payload, resulting in an out-of-bound

  • 7.8 High severity

    Tellus Lite V-Simulator: Out-of-bounds Write

    CVE-2022-3087Fuji Electric

    Fuji Electric Tellus Lite V-Simulator versions 4.0.12.0 and prior are vulnerable to an out-of-bounds write which may allow an attacker to execute arbitrary code.

  • 7.8 High severity

    InCopy: Out-of-bounds Write

    CVE-2023-21597Adobe

    Adobe InCopy versions 18.0 (and earlier), 17.4 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a v

  • 7.8 High severity

    InCopy: Out-of-bounds Write

    CVE-2023-21595Adobe

    Adobe InCopy versions 18.0 (and earlier), 17.4 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a v

  • 7.8 High severity

    InDesign: Out-of-bounds Write

    CVE-2023-21590Adobe

    Adobe InDesign version 18.0 (and earlier), 17.4 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a

  • 7.8 High severity

    InDesign: Out-of-bounds Write

    CVE-2023-21589Adobe

    Adobe InDesign version 18.0 (and earlier), 17.4 (and earlier) are affected by an out-of-bounds write vulnerability that could result in arbitrary code execution in the context of the current user. Exploitation of this issue requires user interaction in that a