{"id":"CVE-2026-9149","summary":"Libsolv: heap buffer overflow in libsolv repo_add_solv via negative maxsize from crafted .solv file","details":"A flaw was found in libsolv. This heap buffer overflow vulnerability occurs when a victim processes a specially crafted `.solv` file containing negative size values in the `repo_add_solv` function. This leads to an undersized memory allocation and a subsequent out-of-bounds write. An attacker could exploit this to cause a denial of service (DoS).","modified":"2026-07-08T08:13:52.610203124Z","published":"2026-05-20T23:34:56.473Z","related":["ALSA-2026:28236","SUSE-SU-2026:21988-1","SUSE-SU-2026:21992-1","SUSE-SU-2026:22172-1","SUSE-SU-2026:22221-1","SUSE-SU-2026:2531-1","SUSE-SU-2026:2575-1","SUSE-SU-2026:2590-1","SUSE-SU-2026:2674-1","openSUSE-SU-2026:10895-1","openSUSE-SU-2026:21096-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9149.json","cwe_ids":["CWE-122"],"cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:21333"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28236"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-9149"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9149.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9149"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460380"},{"type":"FIX","url":"https://github.com/openSUSE/libsolv/pull/617"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensuse/libsolv","events":[{"introduced":"0"},{"last_affected":"1e377699be108ec82bb798ec9c223d45d84a733c"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:opensuse:libsolv:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.7.36"}]}}],"versions":["0.7.36","0.7.35","0.7.34","0.7.33","0.7.32","0.7.31","0.7.30","0.7.29","0.7.28","0.7.27","0.7.26","0.7.25","0.7.24","0.7.23","0.7.22","0.7.21","0.7.20","0.7.19","0.7.18","0.7.17","0.7.16","0.7.15","0.7.14","0.7.13","0.7.12","0.7.11","0.7.10","0.7.9","0.7.8","0.7.7","0.7.6","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.35","0.6.34","0.6.33","0.6.32","0.6.31","0.6.30","0.6.29","0.6.28","0.6.27","0.6.26","0.6.25","0.6.24","0.6.23","0.6.22","0.6.21","0.6.20","0.6.19","0.6.18","0.6.17","0.6.16","0.6.15","0.6.14","0.6.13","0.6.12","0.6.11","0.6.10","0.6.9","0.6.8","0.6.7","0.6.6","0.6.5","0.6.4","BASE-SuSE-Code-13_1-Branch","BASE-SuSE-Code-12_3-Branch","BASE-SuSE-Code-12_2-Branch","BASE-SuSE-Code-12_1-Branch"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9149.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}