CVE-2020-22219 Memory corruption in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code via crafted input to the FLAC encoder due to a buffer overflow vulnerability.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-22219?

CVE-2020-22219 is a high-severity memory corruption vulnerability in n/a, published on 22 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer Overflow vulnerability in function bitwriter_grow_ in flac before 1.4.0 allows remote attackers to run arbitrary code via crafted input to the encoder.

Weakness: CWE-120

Which versions are affected by CVE-2020-22219?

It affects 1 product.

Linux distribution packages (40)
flac AlmaLinux:8All versions1.3.2-9.el8_8.1
flac-devel AlmaLinux:8All versions1.3.2-9.el8_8.1
flac-libs AlmaLinux:8All versions1.3.2-9.el8_8.1
flac AlmaLinux:9All versions1.3.3-10.el9_2.1
flac-devel AlmaLinux:9All versions1.3.3-10.el9_2.1
flac-libs AlmaLinux:9All versions1.3.3-10.el9_2.1
flac Red Hat:enterprise_linux:8::appstreamAll versions0:1.3.2-9.el8_8.1
flac-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.3.2-9.el8_8.1
flac-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.3.2-9.el8_8.1
flac-libs Red Hat:enterprise_linux:8::appstreamAll versions0:1.3.2-9.el8_8.1
flac-libs-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.3.2-9.el8_8.1
flac Red Hat:enterprise_linux:8::crbAll versions0:1.3.2-9.el8_8.1
flac-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.3.2-9.el8_8.1
flac-debugsource Red Hat:enterprise_linux:8::crbAll versions0:1.3.2-9.el8_8.1
flac-devel Red Hat:enterprise_linux:8::crbAll versions0:1.3.2-9.el8_8.1
flac-libs-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.3.2-9.el8_8.1
flac Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9_2.1
flac-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9_2.1
flac-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9_2.1
flac-libs Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9_2.1
flac-libs-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.3.3-10.el9_2.1
flac Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9_2.1
flac-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9_2.1
flac-debugsource Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9_2.1
flac-devel Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9_2.1
flac-libs-debuginfo Red Hat:enterprise_linux:9::crbAll versions0:1.3.3-10.el9_2.1
flac Red Hat:rhel_aus:8.2::appstreamAll versions0:1.3.2-9.el8_2.1
flac-debuginfo Red Hat:rhel_aus:8.2::appstreamAll versions0:1.3.2-9.el8_2.1
flac-debugsource Red Hat:rhel_aus:8.2::appstreamAll versions0:1.3.2-9.el8_2.1
flac-libs Red Hat:rhel_aus:8.2::appstreamAll versions0:1.3.2-9.el8_2.1
flac-libs-debuginfo Red Hat:rhel_aus:8.2::appstreamAll versions0:1.3.2-9.el8_2.1
flac Red Hat:rhel_aus:8.4::appstreamAll versions0:1.3.2-9.el8_4.1
flac-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:1.3.2-9.el8_4.1
flac-debugsource Red Hat:rhel_aus:8.4::appstreamAll versions0:1.3.2-9.el8_4.1
flac-libs Red Hat:rhel_aus:8.4::appstreamAll versions0:1.3.2-9.el8_4.1
flac-libs-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:1.3.2-9.el8_4.1
flac Red Hat:rhel_e4s:8.1::appstreamAll versions0:1.3.2-9.el8_1.1
flac-debuginfo Red Hat:rhel_e4s:8.1::appstreamAll versions0:1.3.2-9.el8_1.1
flac-debugsource Red Hat:rhel_e4s:8.1::appstreamAll versions0:1.3.2-9.el8_1.1
flac-libs Red Hat:rhel_e4s:8.1::appstreamAll versions0:1.3.2-9.el8_1.1

Products include Flac Project Flac.

How do I fix CVE-2020-22219?

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-22219 being exploited?

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

Sources

Also known as ALSA-2023:5046, ALSA-2023:5048, AZL-28074, CLSA-2026-1788193482, DEBIAN-CVE-2020-22219, DLA-3581-1 and 17 more.

Is CVE-2020-22219 in your software?

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

Check your SBOMs for free