CVE-2018-1000221

CRITICAL

pkgconf 1.5.0-1.5.2 - Buffer Overflow in dequote() via Crafted .pc File

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Third Party Advisory x_refsource_confirm
https://git.dereferenced.org/pkgconf/pkgconf/pulls/3

Scores

CVSS v3 9.8
EPSS 0.0135
EPSS Percentile 68.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (1)
pkgconf/pkgconf 1.5.0 - 1.5.2
Published Aug 20, 2018
Tracked Since Feb 18, 2026