CVE-2024-35823 vt: fix unicode buffer corruption when deleting characters

Medium 5.3 Published Updated

A memory corruption vulnerability in the Linux kernel VT subsystem allows attackers to cause buffer corruption, potentially leading to system crashes or code execution.

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

What is CVE-2024-35823?

CVE-2024-35823 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 17 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

vt: fix unicode buffer corruption when deleting characters

This is the same issue that was fixed for the VGA text buffer in commit 39cdb68c64d8 ("vt: fix memory overlapping when deleting chars in the buffer"). The cure is also the same i.e. replace memcpy() with memmove() due to the overlaping buffers.

Weakness: CWE-120

Which versions are affected by CVE-2024-35823?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-35823?

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-2024-35823 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-35823, DEBIAN-CVE-2024-35823, GHSA-7jj8-vg94-4wqj, UBUNTU-CVE-2024-35823.

Is CVE-2024-35823 in your software?

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

Check your SBOMs for free