# CVE-2018-1000221: 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 a…

- Severity: Critical 9.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.35%, higher than 72% of CVEs (2026-12-01)
- Published: 2018-08-20T20:00:00.000Z
- Modified: 2026-06-17T01:32:42.447Z
- Weaknesses: CWE-119
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pkgconf pkgconf: from 1.5.0 up to 1.5.2

## Every score

- NVD: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://git.dereferenced.org/pkgconf/pkgconf/pulls/3> (third-party-advisory)

## Sources

- CVE List: [CVE-2018-1000221](https://www.cve.org/CVERecord?id=CVE-2018-1000221), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2018-1000221](https://nvd.nist.gov/vuln/detail/CVE-2018-1000221), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1000221 · Whole record: https://cve.day/CVE-2018-1000221.json · Rebuilt by cve.day 2026-11-25T22:57:39.347Z
