CVE-2022-28550 Memory corruption in n/a

Critical 9.8 Published Updated

A stack buffer overflow in jhead allows attackers to execute arbitrary code or cause denial of service via crafted EXIF data.

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

What is CVE-2022-28550?

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

Official description

Matthias-Wandel/jhead jhead 3.06 is vulnerable to Buffer Overflow via shellescape(), jhead.c, jhead. jhead copies strings to a stack buffer when it detects a &i or &o. However, jhead does not check the boundary of the stack buffer. As a result, there will be a stack buffer overflow problem when multiple `&i` or `&o` are given.

Weakness: CWE-787, CWE-120

Which versions are affected by CVE-2022-28550?

It affects 1 product.

Products include Jhead Project Jhead.

How do I fix CVE-2022-28550?

Apply the vendor's patch.

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

Is CVE-2022-28550 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-28550, GHSA-phqx-gjxc-wrp9, UBUNTU-CVE-2022-28550.

Is CVE-2022-28550 in your software?

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

Check your SBOMs for free