CVE-2018-12889 Memory corruption in n/a

Critical 9.8 Published Updated

Heap-based buffer overflow in CCN-lite allows attackers to cause heap corruption and potential code execution via malicious binary 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-12889?

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

Official description

An issue was discovered in CCN-lite 2.0.1. There is a heap-based buffer overflow in mkAddToRelayCacheRequest and in ccnl_populate_cache for an array lacking '\0' termination when reading a binary CCNx or NDN file. This can result in Heap Corruption. This was addressed by fixing the memory management in mkAddToRelayCacheRequest in ccn-lite-ctrl.c.

Weakness: CWE-787

Which versions are affected by CVE-2018-12889?

It affects 1 product.

Products include Ccn-Lite Ccn-Lite.

How do I fix CVE-2018-12889?

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

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

Sources

Also known as GHSA-4cp4-qp7x-2m98.

Is CVE-2018-12889 in your software?

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

Check your SBOMs for free