Description
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory errors and possibly execute arbitrary code, related to memory object initialization.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| libraw | libraw | < 0.17.1 | – |
CWE-665 Improper Initialization
The product does not initialize or incorrectly initializes a resource.
| Scope | Impact |
|---|---|
| Other | Varies by Context The resource might be left in an unexpected state when it is accessed or used. |
| Confidentiality | Read Memory, Read Application Data When reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party. |
| Access Control | Bypass Protection Mechanism If security-critical decisions rely on a variable having a 0 or equivalent value, and the programming language performs this initialization on behalf of the programmer, then a bypass of security may occur. |
| Availability | DoS: Crash, Exit, or Restart The uninitialized data may contain values that cause program flow to change in ways that the programmer did not intend. For example, if an uninitialized variable is used as an array index in C, then its previous contents may produce an index that is outside the range of the array, possibly causing a crash or an exit in other environments. |
All 346 CWE-665 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org