{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-4156 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-4156 is a high-severity vulnerability in Debian Debian Linux, published on 23 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-4156 and fix it if it is affected.\n\nWhat it is: CVE-2021-4156 is a high-severity vulnerability in Debian Debian Linux, published on 23 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-4156 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-4156/ (Markdown: https://insights.sbomify.com/CVE-2021-4156/index.md)","id":"CVE-2021-4156","markdown":"https://insights.sbomify.com/CVE-2021-4156/index.md","name":"CVE-2021-4156","record":{"aliases":["ALSA-2022:1968","DEBIAN-CVE-2021-4156","DLA-3126-1","DLA-4402-1","GHSA-vvgm-gfhp-rj9x","OESA-2022-1680","RHSA-2022:1968","RLSA-2022:1968","SUSE-SU-2022:0034-1","SUSE-SU-2022:0052-1","SUSE-SU-2022:0052-2","SUSE-SU-2022:14872-1","UBUNTU-CVE-2021-4156","USN-5409-1","openSUSE-SU-2022:0052-1","openSUSE-SU-2024:11705-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Audio processing library","requires_auth":"none","summary":"An out-of-bounds read in libsndfile's FLAC codec allows attackers to cause crashes or leak memory information via crafted files.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"libsndfile","vendor":"libsndfile_project"}],"cvss":{"score":7.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Package Hub 15 SP3","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Information disclosure in libsndfile","id":"CVE-2021-4156","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux"],"type":"information_disclosure","year":"2021"},"n_packages":52,"n_references":6,"next":{"headline":"Memory corruption in kernel","id":"CVE-2021-4157"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/almalinux/libsndfile","source":"ALSA-2022:1968"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-devel","purl":"pkg:rpm/almalinux/libsndfile-devel","source":"ALSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/redhat/libsndfile","source":"RHSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-debuginfo","purl":"pkg:rpm/redhat/libsndfile-debuginfo","source":"RHSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-debugsource","purl":"pkg:rpm/redhat/libsndfile-debugsource","source":"RHSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-utils-debuginfo","purl":"pkg:rpm/redhat/libsndfile-utils-debuginfo","source":"RHSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-debuginfo","purl":"pkg:rpm/redhat/libsndfile-debuginfo","source":"RHSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-debugsource","purl":"pkg:rpm/redhat/libsndfile-debugsource","source":"RHSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-devel","purl":"pkg:rpm/redhat/libsndfile-devel","source":"RHSA-2022:1968"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile-utils-debuginfo","purl":"pkg:rpm/redhat/libsndfile-utils-debuginfo","source":"RHSA-2022:1968"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.0.28-12.el8"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/rocky-linux/libsndfile?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:1968"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP3","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP3","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["1.0.20-2.19.18.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2022:14872-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2","source":"SUSE-SU-2022:0052-2"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","fixed":["1.0.20-2.19.18.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSS","source":"SUSE-SU-2022:14872-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.0.25-36.26.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:0034-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:0052-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.0.28-5.15.1"],"introduced":["0"],"last_affected":[],"package":"libsndfile","purl":"pkg:rpm/suse/libsndfile\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:0052-1"}],"prev":{"headline":"Information disclosure in kernel","id":"CVE-2021-4155"},"products":["libsndfile"],"published":"2022-03-23","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-12-11","vendors":["n/a"]},"summary":"An out-of-bounds read in libsndfile's FLAC codec allows attackers to cause crashes or leak memory information via crafted files.","url":"https://insights.sbomify.com/CVE-2021-4156/"}