{"id":"UBUNTU-CVE-2025-48174","details":"In libavif before 1.3.0, makeRoom in stream.c has an integer overflow and resultant buffer overflow in stream-\u003eoffset+size.","modified":"2026-05-20T16:23:32.136489329Z","published":"2025-05-16T05:15:00Z","upstream":["CVE-2025-48174"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-48174"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-48174"},{"type":"REPORT","url":"https://github.com/AOMediaCodec/libavif/commit/50a743062938a3828581d725facc9c2b92a1d109"},{"type":"REPORT","url":"https://github.com/AOMediaCodec/libavif/commit/c9f1bea437f21cb78f9919c332922a3b0ba65e11"},{"type":"REPORT","url":"https://github.com/AOMediaCodec/libavif/commit/e5fdefe7d1776e6c4cf1703c163a8c0535599029"},{"type":"REPORT","url":"https://github.com/AOMediaCodec/libavif/pull/2768"}],"affected":[{"package":{"name":"libavif","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libavif?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.4-2","0.9.3-2","0.9.3-3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.3-3","binary_name":"libavif-bin"},{"binary_name":"libavif-gdk-pixbuf","binary_version":"0.9.3-3"},{"binary_version":"0.9.3-3","binary_name":"libavif13"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48174.json"}},{"package":{"name":"libavif","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libavif?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.1-3ubuntu1","1.0.1-2ubuntu3","1.0.1-2ubuntu4","1.0.2-1ubuntu1","1.0.3-1ubuntu1","1.0.4-1ubuntu1","1.0.4-1ubuntu2","1.0.4-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.4-1ubuntu3","binary_name":"libavif-bin"},{"binary_version":"1.0.4-1ubuntu3","binary_name":"libavif-gdk-pixbuf"},{"binary_name":"libavif16","binary_version":"1.0.4-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48174.json"}},{"package":{"name":"libavif","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libavif?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-1ubuntu1","1.2.1-1.1ubuntu1","1.2.1-1.2ubuntu1","1.3.0-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libavif-bin","binary_version":"1.3.0-1ubuntu1"},{"binary_name":"libavif-gdk-pixbuf","binary_version":"1.3.0-1ubuntu1"},{"binary_version":"1.3.0-1ubuntu1","binary_name":"libavif16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48174.json"}},{"package":{"name":"libavif","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libavif?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.0-1ubuntu1","1.3.0-1ubuntu2","1.3.0-1ubuntu3","1.3.0-1ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"libavif-bin","binary_version":"1.3.0-1ubuntu4"},{"binary_name":"libavif-gdk-pixbuf","binary_version":"1.3.0-1ubuntu4"},{"binary_version":"1.3.0-1ubuntu4","binary_name":"libavif16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-48174.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}