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",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48174.json"
}{
"cpe": "cpe:2.3:a:aomedia:libavif:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-48174.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"60018159898250135578006914648390099566",
"254882790782810017276847077533830148759",
"130630794033541735783879164552217281264",
"203240105109406447935321436661170943938",
"95657220151607771881684984451807902843",
"80768894366394929730227955758670528978",
"178151776124528018174194195542829765550"
],
"threshold": 0.9
},
"id": "CVE-2025-48174-31c5552e",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/aomediacodec/libavif/commit/50a743062938a3828581d725facc9c2b92a1d109",
"target": {
"file": "src/stream.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "122131982172295128695689603529704441154",
"length": 305
},
"id": "CVE-2025-48174-73d72f40",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/aomediacodec/libavif/commit/50a743062938a3828581d725facc9c2b92a1d109",
"target": {
"file": "src/stream.c",
"function": "makeRoom"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "3283839707784579655907692435808851062",
"length": 234
},
"id": "CVE-2025-48174-75987f9f",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/aomediacodec/libavif/commit/e5fdefe7d1776e6c4cf1703c163a8c0535599029",
"target": {
"file": "src/stream.c",
"function": "makeRoom"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"60018159898250135578006914648390099566",
"191571056920798847750635278987028407229",
"324644747019893269659918239621612300477",
"19360956784866053147754524326384477675"
],
"threshold": 0.9
},
"id": "CVE-2025-48174-ecbb1cef",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/aomediacodec/libavif/commit/e5fdefe7d1776e6c4cf1703c163a8c0535599029",
"target": {
"file": "src/stream.c"
}
}
]
"2026-08-18T17:53:09Z"