CVE-2020-18831 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can cause denial of service and other impacts via crafted files due to a buffer overflow in the Exiv2 image library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-18831?

CVE-2020-18831 is a high-severity memory corruption vulnerability in Exiv2 Exiv2, published on 22 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Buffer Overflow vulnerability in tEXtToDataBuf function in pngimage.cpp in Exiv2 0.27.1 allows remote attackers to cause a denial of service and other unspecified impacts via use of crafted file.

Weakness: CWE-787

Which versions are affected by CVE-2020-18831?

1 open source package ship an affected version, including exiv2. It affects 1 product.

PackageAffectedFixed in
exiv2 PyPIAll versionsNone

Products include Exiv2 Exiv2.

How do I fix CVE-2020-18831?

Upgrade to a fixed version.

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

Is CVE-2020-18831 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-18831 exists.

All Exiv2 Exiv2 vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-18831, GHSA-xwp4-phw7-5mfh, PYSEC-2023-150.

Is CVE-2020-18831 in your software?

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

Check your SBOMs for free