CVE-2018-1000221 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in pkgconf allows attackers to execute arbitrary code or cause denial of service via specially crafted .pc files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-1000221?

CVE-2018-1000221 is a critical memory corruption vulnerability in n/a, published on 20 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-119

Which versions are affected by CVE-2018-1000221?

It affects 1 product.

Products include Pkgconf Pkgconf.

How do I fix CVE-2018-1000221?

No fix has been published for CVE-2018-1000221 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-1000221 being exploited?

There is no known exploitation of CVE-2018-1000221 in the wild and no public exploit code.

Sources

Also known as GHSA-x83w-rcx4-rx6c, openSUSE-SU-2024:11174-1.

Is CVE-2018-1000221 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free