CVE-2018-1000221
pkgconf: 1 byte out of bounds read for 0 length keys
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · August 24, 2018
Updated · November 22, 2025
Description
pkgconf version 1.5.0 to 1.5.2 contains a Buffer Overflow vulnerability in dequote() that can result in dequote() function returns 1-byte allocation if initial length is 0, leading to buffer overflow. This attack appear to be exploitable via specially crafted .pc file. This vulnerability appears to have been fixed in 1.5.3.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 3.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer