In libavif before 1.3.0, makeRoom in stream.c has an integer overflow and resultant buffer overflow in stream->offset+size.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48174.json",
"cwe_ids": [
"CWE-190"
]
}{
"cpe": "cpe:2.3:a:aomedia:libavif:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-22T04:02:05Z"
[
{
"target": {
"file": "src/stream.c"
},
"id": "CVE-2025-48174-31c5552e",
"digest": {
"line_hashes": [
"60018159898250135578006914648390099566",
"254882790782810017276847077533830148759",
"130630794033541735783879164552217281264",
"203240105109406447935321436661170943938",
"95657220151607771881684984451807902843",
"80768894366394929730227955758670528978",
"178151776124528018174194195542829765550"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/aomediacodec/libavif/commit/50a743062938a3828581d725facc9c2b92a1d109"
},
{
"target": {
"function": "makeRoom",
"file": "src/stream.c"
},
"id": "CVE-2025-48174-73d72f40",
"digest": {
"function_hash": "122131982172295128695689603529704441154",
"length": 305.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/aomediacodec/libavif/commit/50a743062938a3828581d725facc9c2b92a1d109"
},
{
"target": {
"function": "makeRoom",
"file": "src/stream.c"
},
"id": "CVE-2025-48174-75987f9f",
"digest": {
"function_hash": "3283839707784579655907692435808851062",
"length": 234.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/aomediacodec/libavif/commit/e5fdefe7d1776e6c4cf1703c163a8c0535599029"
},
{
"target": {
"file": "src/stream.c"
},
"id": "CVE-2025-48174-ecbb1cef",
"digest": {
"line_hashes": [
"60018159898250135578006914648390099566",
"191571056920798847750635278987028407229",
"324644747019893269659918239621612300477",
"19360956784866053147754524326384477675"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/aomediacodec/libavif/commit/e5fdefe7d1776e6c4cf1703c163a8c0535599029"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48174.json"