Integer overflow in libvpx
There exists interger overflows in libvpx in versions prior to 1.14.1. Calling vpx_img_alloc() with a large value of the d_w, d_h, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. Calling vpx_img_wrap() with a large value of the d_w, d_h, or stride_align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. We recommend upgrading to version 1.14.1 or beyond
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-5197
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:24 UTC · Revision 1
Source evidence
There exists interger overflows in libvpx in versions prior to 1.14.1. Calling vpx_img_alloc() with a large value of the d_w, d_h, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. Calling vpx_img_wrap() with a large value of the d_w, d_h, or stride_align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. We recommend upgrading to version 1.14.1 or beyond
osv:CVE-2024-5197
Complete source record
{
"id": "6831fddd9af058ceea3a95720b0f42ecba49948b8d96422dc344af462bbc2c79",
"url": "https://osv.dev/vulnerability/CVE-2024-5197",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Integer overflow in libvpx",
"summary": "There exists interger overflows in libvpx in versions prior to 1.14.1. Calling vpx_img_alloc() with a large value of the d_w, d_h, or align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. Calling vpx_img_wrap() with a large value of the d_w, d_h, or stride_align parameter may result in integer overflows in the calculations of buffer sizes and offsets and some fields of the returned vpx_image_t struct may be invalid. We recommend upgrading to version 1.14.1 or beyond",
"evidence": "osv:CVE-2024-5197",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-5197",
"aliases": [
"CVE-2024-5197"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:N/SC:L/SI:L/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/webmproject/libvpx",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "12f3a2ac603e8f10742105519e0cd03c3b8f71dd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:webmproject:libvpx:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.14.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.14.1-rc1",
"v1.14.0",
"v1.14.0-rc1",
"v1.10.0-rc1",
"v1.2.0",
"v1.0.0",
"v0.9.7-p1",
"v0.9.7",
"v0.9.6",
"v0.9.1",
"v0.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5197.json"
}
}
],
"modified": "2026-10-28T02:30:52.122207650Z",
"provider": "osv",
"references": [
"https://chromium.googlesource.com",
"https://chromium.googlesource.com/webm/",
"https://g-issues.chromium.org/issues/332382766",
"https://lists.debian.org/debian-lts-announce/2024/06/msg00005.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5197.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-5197"
],
"provider_metadata": {
"cwe_ids": [
"CWE-190"
],
"cna_assigner": "Google",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "1.14.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5197.json"
}
},
"related_cves": [
{
"value": "CVE-2024-5197",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520944,
"published_at": "2024-06-03T13:30:26.925+00:00"
}