CVE-2023-28772 Memory corruption in n/a

Medium 6.7 Published Updated

A buffer overflow in the Linux kernel's seq_buf_putmem_hex function allows attackers to execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-28772?

CVE-2023-28772 is a medium-severity memory corruption vulnerability in Linux kernel, published on 23 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in the Linux kernel before 5.13.3. lib/seq_buf.c has a seq_buf_putmem_hex buffer overflow.

Weakness: CWE-120

Which versions are affected by CVE-2023-28772?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-28772?

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-2023-28772 being exploited?

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

Public exploit code: 2 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-28772, GHSA-4mgq-wm39-mv73, UBUNTU-CVE-2023-28772.

Is CVE-2023-28772 in your software?

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

Check your SBOMs for free