CVE-2021-36531 Memory corruption in n/a

High 8.8 Published Updated

A heap overflow in ngiflib allows attackers to execute arbitrary code or cause denial of service when parsing GIF files in no-file mode.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-36531?

CVE-2021-36531 is a high-severity memory corruption vulnerability in n/a, published on 27 Aug 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

ngiflib 0.4 has a heap overflow in GetByte() at ngiflib.c:70 in NGIFLIB_NO_FILE mode, GetByte() reads memory buffer without checking the boundary.

Weakness: CWE-787

Which versions are affected by CVE-2021-36531?

It affects 1 product.

Products include Miniupnp Project Ngiflib.

How do I fix CVE-2021-36531?

No fix has been published for CVE-2021-36531 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-2021-36531 being exploited?

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

Sources

Also known as GHSA-qpjc-r4c8-485x.

Is CVE-2021-36531 in your software?

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

Check your SBOMs for free