Skip to content
OpenAdvisories

Weakness (CWE)

CWE-457: Use of Uninitialized Variable

Variant Draft

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

How to prevent it (5 mitigations)
  1. Implementation

    Ensure that critical variables are initialized before first use [REF-1485].

  2. Build and Compilation

    Most compilers will complain about the use of uninitialized variables if warnings are turned on.

  3. Implementation, Operation

    When using a language that does not require explicit declaration of variables, run or compile the software in a mode that reports undeclared or unknown variables. This may indicate the presence of a typographic error in the variable's name.

  4. Requirements

    Choose a language that is not susceptible to these issues.

  5. Architecture and Design

    Mitigating technologies such as safe string libraries and container abstractions could be introduced.

Source: MITRE CWE-457

32 results · Clear filters · Feed

  • Low 2.4

    NUT blazer_usb ippon_command stack info-leak via unzeroed char tmp[64] in OUT-direction usb_control_msg

    Network UPS Tools is a collection of programs which provide a common interface for monitoring and administering UPS, PDU and SCD hardware. From 2.4.2 through 2.8.5, ippon_command in drivers/blazer_usb.c partially initializes char tmp[64] with a short Megatec …

  • Low 2.5

    M17n-lib: uninitialized stack read in iso-2022 compound text utf-8 decoding

    A flaw was found in m17n-lib. An attacker who supplies crafted input to an application processing ISO-2022 encoded text can cause the library to read uninitialized memory from the stack. If the application exposes or returns the decoded output, this flaw can …

  • Low 3.7

    apcupsd through 3.14.14 discloses uninitialized stack memory in getupsvar() in src/cgi/upsfetch.c (used by upsstats.cgi…

  • Low 3.2

    This Power System update is being released to address

    IBM PowerVM Hypervisor FW1120.00 through FW1120.01, FW1110.00 through FW1110.31, and FW1060.00 through FW1060.81 is affected by a vulnerability in a hypervisor call interface. An attacker with root access to a guest partition can read a limited amount of hype…

  • Low 3.1

    Uninitialized Use in Skia in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who had compromised the re…

  • Low 3.1

    Uninitialized Use in Skia in Google Chrome prior to 151.0.7922.109 allowed a remote attacker who had compromised the re…

  • Low 3.1

    Uninitialized Use in Skia in Google Chrome prior to 150.0.7871.182 allowed a remote attacker who had compromised the re…

  • Low 2.5

    Use of Uninitialized Variable in Wireshark

    BLF file parser in Wireshark 4.6.0 to 4.6.6 and 4.4.0 to 4.4.16 allows possible information disclosure

  • Low 3.1

    Uninitialized Use in ANGLE in Google Chrome prior to 148.0.7778.216 allowed a remote attacker who had compromised the r…

  • Low 3.1

    Uninitialized Use in GPU in Google Chrome on Android prior to 148.0.7778.216 allowed a remote attacker who had compromi…

  • Low 3.3

    Use of uninitialized value in Ubuntu Linux AppArmor IPv4/IPv6 socket mediation rules

    Ubuntu Linux 6.8 contains SAUCE patches with a possible use of an uninitialized variable in AppArmor AF_INET/AF_INET6 socket mediation code. The bug can be triggered by an unprivileged local user and could result in incorrect fine-grained mediation of network…

  • Low 3.3

    Use of uninitialized value in Ubuntu Linux AppArmor notification handling

    Ubuntu Linux 6.8, 7.17 and 7.0 contain AppArmor SAUCE patches which can, under certain circumstances, use an uninitialized variable in notification handling code. The bug can be triggered by an unprivileged local user and can result in the incorrect caching o…

  • Low 1.2

    QTS, QuTS hero

    A use of uninitialized variable vulnerability has been reported to affect several QNAP operating system versions. If a remote attacker gains an administrator account, they can then exploit the vulnerability to denial of service conditions, or modify control f…

  • Low 2.0

    OpenEXR Makes Use of Uninitialized Memory

    OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In versions 3.3.0 through 3.3.5 and 3.4.0 through 3.4.2, while fuzzing `openexr_exrcheck_fuzzer`, Valgrind reports…

  • Low 2.8

    Use of an uninitialized variable in the ASP could allow an attacker to access leftover data from a trusted execution en…

  • Low 3.9

    Libopensc: uninitialized values after incorrect or missing checking return values of functions in pkcs15init

    A vulnerability was found in pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to un…

  • Low 3.9

    Libopensc: uninitialized values after incorrect or missing checking return values of functions in libopensc

    A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of re…

  • Low 3.9

    Libopensc: uninitialized values after incorrect check or usage of apdu response values in libopensc

    A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. The following problems were caused by …

  • Low 3.9

    Libopensc: pkcs15init: usage of uninitialized values in libopensc and pkcs15init

    A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. The problem is missing initialization of variables expected to be initialized (as arguments to other functions, etc.).

  • Low 2.1

    Uninitialized variable in Xpdf 4.05 due to invalid JPEG header

    In Xpdf 4.05 (and earlier), invalid header info in a DCT (JPEG) stream can lead to an uninitialized variable in the DCT decoder. The proof-of-concept PDF file causes a segfault attempting to read from an invalid address.

  • Low 3.3

    oFono AT CMGR Command Uninitialized Variable Information Disclosure Vulnerability

    oFono AT CMGR Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information on affected installations of oFono. An attacker must first obtain the ability to execute code on the…

  • Low 3.3

    oFono AT CMT Command Uninitialized Variable Information Disclosure Vulnerability

    oFono AT CMT Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information on affected installations of oFono. An attacker must first obtain the ability to execute code on the …

  • Low 3.3

    oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability

    oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information on affected installations of oFono. An attacker must first obtain the ability to execute code on the…

  • Low 3.3

    Foxit PDF Reader Annotation Use of Uninitialized Variable Information Disclosure Vulnerability

    Foxit PDF Reader Annotation Use of Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader. User interaction is required to exploit…

  • Low 3.3

    PDF-XChange Editor J2K File Parsing Uninitialized Variable Information Disclosure Vulnerability

    PDF-XChange Editor J2K File Parsing Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange Editor. User interaction is required to expl…

  • Low 3.3

    PDF-XChange Editor U3D File Parsing Uninitialized Variable Information Disclosure Vulnerability

    PDF-XChange Editor U3D File Parsing Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange Editor. User interaction is required to expl…

  • Low 3.3

    PDF-XChange Editor J2K File Parsing Uninitialized Variable Information Disclosure Vulnerability

    PDF-XChange Editor J2K File Parsing Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange Editor. User interaction is required to expl…

  • Low 3.3

    PDF-XChange Editor J2K File Parsing Uninitialized Variable Information Disclosure Vulnerability

    PDF-XChange Editor J2K File Parsing Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange Editor. User interaction is required to expl…

  • Low 3.3

    PDF-XChange Editor PDF File Parsing Uninitialized Variable Information Disclosure Vulnerability

    PDF-XChange Editor PDF File Parsing Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of PDF-XChange Editor. User interaction is required to expl…

  • Low 3.9

    LIEF obtain sensitive information via the name parameter

    An issue in LIEF v.0.14.1 allows a local attacker to obtain sensitive information via the name parameter of the machd_reader.c component.

  • Low 2.3

    An absence of variable initialization in ICCC TA prior to SMR Aug-2022 Release 1 allows local attacker to read uninitia…

  • Low 3.1

    Uninitialized read in gdImageCreateFromXbm

    When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the functi…