arm-trusted-firmware — security advisory
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Renesas arm-trusted-firmware allows Local Execution of Code. This vulnerability is associated with program files https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/i... https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/io_rcar.C . In line 313 "addr_loaded_cnt" is checked not to be "CHECK_IMAGE_AREA_CNT" (5) or larger, this check does not halt the function. Immediately after (line 317) there will be an overflow in the buffer and the value of "dst" will be written to the area immediately after the buffer, which is "addr_loaded_cnt". This will allow an attacker to freely control the value of "addr_loaded_cnt" and thus control the destination of the write immediately after (line 318). The write in line 318 will then be fully controlled by said attacker, with whichever address and whichever value ("len") they desire.
- Products
- arm-trusted-firmware
- Affected versions
- 2.1-3, 2.10.0+dfsg-1, 2.10.0+dfsg-1build1, 2.10.0+dfsg-1build2, 2.12.1+dfsg-1, 2.12.1+dfsg-1ubuntu1, 2.2-2, 2.5+dfsg-1, 2.6+dfsg-1, 2.9.0+dfsg-3
- Fixed versions
- Not specified
- CVEs
- CVE-2024-6563
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:11 UTC · Revision 1
Source evidence
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Renesas arm-trusted-firmware allows Local Execution of Code. This vulnerability is associated with program files https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/i... https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/io_rcar.C . In line 313 "addr_loaded_cnt" is checked not to be "CHECK_IMAGE_AREA_CNT" (5) or larger, this check does not halt the function. Immediately after (line 317) there will be an overflow in the buffer and the value of "dst" will be written to the area immediately after the buffer, which is "addr_loaded_cnt". This will allow an attacker to freely control the value of "addr_loaded_cnt" and thus control the destination of the write immediately after (line 318). The write in line 318 will then be fully controlled by said attacker, with whichever address and whichever value ("len") they desire.
osv:UBUNTU-CVE-2024-6563
arm-trusted-firmware
Fixed versions: Not specified
arm-trusted-firmware
Fixed versions: Not specified
arm-trusted-firmware
Fixed versions: Not specified
arm-trusted-firmware
Fixed versions: Not specified
arm-trusted-firmware
Fixed versions: Not specified
arm-trusted-firmware
Fixed versions: Not specified
Complete source record
{
"id": "fa9bbe8f3855514b4b556e58048a1690e0d941c8b42a7bcab4a59a9f5d206641",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-6563",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-6563",
"summary": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Renesas arm-trusted-firmware allows Local Execution of Code. This vulnerability is associated with program files https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/i... https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/io_rcar.C . In line 313 \"addr_loaded_cnt\" is checked not to be \"CHECK_IMAGE_AREA_CNT\" (5) or larger, this check does not halt the function. Immediately after (line 317) there will be an overflow in the buffer and the value of \"dst\" will be written to the area immediately after the buffer, which is \"addr_loaded_cnt\". This will allow an attacker to freely control the value of \"addr_loaded_cnt\" and thus control the destination of the write immediately after (line 318). The write in line 318 will then be fully controlled by said attacker, with whichever address and whichever value (\"len\") they desire.",
"evidence": "osv:UBUNTU-CVE-2024-6563",
"products": [
{
"name": {
"value": "arm-trusted-firmware",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1-3",
"evidence": "/affected/0/versions"
},
{
"value": "2.2-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "arm-trusted-firmware",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.5+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.6+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "arm-trusted-firmware",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.9.0+dfsg-3",
"evidence": "/affected/2/versions"
},
{
"value": "2.10.0+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.10.0+dfsg-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "2.10.0+dfsg-1build2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "arm-trusted-firmware",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10.0+dfsg-1build2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "arm-trusted-firmware",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.12.1+dfsg-1",
"evidence": "/affected/4/versions"
},
{
"value": "2.12.1+dfsg-1ubuntu1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "arm-trusted-firmware",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10.0+dfsg-1build2",
"evidence": "/affected/5/versions"
},
{
"value": "2.12.1+dfsg-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2024-6563",
"aliases": [
"UBUNTU-CVE-2024-6563"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "arm-trusted-firmware",
"purl": "pkg:deb/ubuntu/arm-trusted-firmware?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.1-3",
"2.2-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6563.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "arm-trusted-firmware",
"binary_version": "2.2-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "arm-trusted-firmware",
"purl": "pkg:deb/ubuntu/arm-trusted-firmware?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.5+dfsg-1",
"2.6+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6563.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "arm-trusted-firmware",
"binary_version": "2.6+dfsg-1"
},
{
"binary_name": "arm-trusted-firmware-tools",
"binary_version": "2.6+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "arm-trusted-firmware",
"purl": "pkg:deb/ubuntu/arm-trusted-firmware?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.9.0+dfsg-3",
"2.10.0+dfsg-1",
"2.10.0+dfsg-1build1",
"2.10.0+dfsg-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6563.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "arm-trusted-firmware",
"binary_version": "2.10.0+dfsg-1build2"
},
{
"binary_name": "arm-trusted-firmware-tools",
"binary_version": "2.10.0+dfsg-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "arm-trusted-firmware",
"purl": "pkg:deb/ubuntu/arm-trusted-firmware?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.10.0+dfsg-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6563.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "arm-trusted-firmware",
"binary_version": "2.10.0+dfsg-1build2"
},
{
"binary_name": "arm-trusted-firmware-tools",
"binary_version": "2.10.0+dfsg-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "arm-trusted-firmware",
"purl": "pkg:deb/ubuntu/arm-trusted-firmware?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.12.1+dfsg-1",
"2.12.1+dfsg-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6563.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "arm-trusted-firmware",
"binary_version": "2.12.1+dfsg-1ubuntu1"
},
{
"binary_name": "arm-trusted-firmware-tools",
"binary_version": "2.12.1+dfsg-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "arm-trusted-firmware",
"purl": "pkg:deb/ubuntu/arm-trusted-firmware?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.10.0+dfsg-1build2",
"2.12.1+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6563.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "arm-trusted-firmware",
"binary_version": "2.12.1+dfsg-1"
},
{
"binary_name": "arm-trusted-firmware-tools",
"binary_version": "2.12.1+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:42.087338666Z",
"provider": "osv",
"upstream": [
"CVE-2024-6563"
],
"references": [
"https://ubuntu.com/security/CVE-2024-6563",
"https://www.cve.org/CVERecord?id=CVE-2024-6563",
"https://github.com/renesas-rcar/arm-trusted-firmware/commit/235f85b654a031f7647e81b86fc8e4ffeb430164",
"https://asrg.io/security-advisories/cve-2024-6563/"
]
},
"related_cves": [
{
"value": "CVE-2024-6563",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355986,
"published_at": "2024-07-08T16:15:00+00:00"
}