CVE-2021-4156

high

Description

An out-of-bounds read flaw was found in libsndfile's FLAC codec functionality. An attacker who is able to submit a specially crafted file (via tricking a user to open or otherwise) to an application linked with libsndfile and using the FLAC codec, could trigger an out-of-bounds read that would most likely cause a crash but could potentially leak memory information that could be used in further exploitation of other flaws.

References

https://security.gentoo.org/glsa/202309-11

https://lists.debian.org/debian-lts-announce/2022/09/msg00036.html

https://lists.debian.org/debian-lts-announce/2022/06/msg00020.html

https://github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab

https://github.com/libsndfile/libsndfile/issues/731

https://bugzilla.redhat.com/show_bug.cgi?id=2027690

Details

Source: Mitre, NVD

Published: 2022-03-23

Updated: 2023-09-29

Risk Information

CVSS v2

Base Score: 5.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Severity: High