OpenWrt Project is a Linux operating system targeting embedded devices. Prior to version 24.10.4, ubusd contains a heap buffer overflow in the event registration parsing code. This allows an attacker to modify the head and potentially execute arbitrary code in the context of the ubus daemon. The affected code is executed before running the ACL checks, all ubus clients are able to send such messages. In addition to the heap corruption, the crafted subscription also results in a bypass of the listen ACL. This is fixed in OpenWrt 24.10.4. There are no workarounds.
{
"cwe_ids": [
"CWE-122"
]
}[
{
"source": "https://github.com/openwrt/ubus/commit/d31effb4277bd557f5ccf16d909422718c1e49d0",
"id": "CVE-2025-62526-45827edb",
"deprecated": false,
"target": {
"function": "ubusd_alloc_event_pattern",
"file": "ubusd_event.c"
},
"signature_version": "v1",
"digest": {
"length": 1240.0,
"function_hash": "269499494094842726332140465994811335130"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-4f9204bf",
"deprecated": false,
"target": {
"function": "ubusd_acl_add_subscribe",
"file": "ubusd_acl.c"
},
"signature_version": "v1",
"digest": {
"length": 134.0,
"function_hash": "131758494366681609886095010047155218846"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-56a72dee",
"deprecated": false,
"target": {
"function": "ubusd_acl_add_access",
"file": "ubusd_acl.c"
},
"signature_version": "v1",
"digest": {
"length": 544.0,
"function_hash": "312841437640654457834311159146099263062"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/60e04048a0e2f3e33651c19e62861b41be4c290f",
"id": "CVE-2025-62526-6017ae5f",
"deprecated": false,
"target": {
"function": "ubusd_alloc_event_pattern",
"file": "ubusd_event.c"
},
"signature_version": "v1",
"digest": {
"length": 1295.0,
"function_hash": "35887415903715369506934504051118009335"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-87817191",
"deprecated": false,
"target": {
"function": "ubusd_acl_add_send",
"file": "ubusd_acl.c"
},
"signature_version": "v1",
"digest": {
"length": 129.0,
"function_hash": "14937075036766797324353619830057955703"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-881e5470",
"deprecated": false,
"target": {
"function": "ubusd_acl_add_listen",
"file": "ubusd_acl.c"
},
"signature_version": "v1",
"digest": {
"length": 131.0,
"function_hash": "177862860058813276459976302836607963339"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-9dbd32d3",
"deprecated": false,
"target": {
"function": "ubusd_acl_add_publish",
"file": "ubusd_acl.c"
},
"signature_version": "v1",
"digest": {
"length": 132.0,
"function_hash": "331631403836101873596586172472106830680"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-a343b38d",
"deprecated": false,
"target": {
"function": "ubusd_acl_alloc_obj",
"file": "ubusd_acl.c"
},
"signature_version": "v1",
"digest": {
"length": 553.0,
"function_hash": "136162412186559695156472379757640914324"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-addd5a31",
"deprecated": false,
"target": {
"function": "__ubusd_handle_lookup",
"file": "ubusd_proto.c"
},
"signature_version": "v1",
"digest": {
"length": 1215.0,
"function_hash": "52569990636239874685714495392267537645"
},
"signature_type": "Function"
},
{
"source": "https://github.com/openwrt/ubus/commit/d31effb4277bd557f5ccf16d909422718c1e49d0",
"id": "CVE-2025-62526-b9530137",
"deprecated": false,
"target": {
"file": "ubusd_event.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"173019191888764780154939816649317571414",
"277806771233963865490796607625283598576",
"218106742409172172870437787438927172207",
"37552528826189387873430482811792348109"
]
},
"signature_type": "Line"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-ce8079a6",
"deprecated": false,
"target": {
"file": "ubusd_acl.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"291312074736146949074834670526908517008",
"300288460291369701741183773745594180865",
"310654731826544650812724737214760833386",
"274038740576520541520270162172244879779",
"23123595199600665027599944984072200991",
"141745152433441828480746929145787860174",
"330552078838304782035143290695736715796",
"147306358503383134158747152315844641664",
"235805361119790337636016206167459197863",
"276310980068052015230432133222029814291",
"315758103388662442273609290108643266935",
"84790004575249039319133441158786538075",
"213613442843987127743585743256251486211",
"292462105018207055238416816957576903061",
"67611651551203529253012975311700666105",
"139643717590145284938519272024587703267",
"54321720016296100878734267718013564929",
"116520718615663627271486485711308930929",
"303806894886798273269965731272721175523"
]
},
"signature_type": "Line"
},
{
"source": "https://github.com/openwrt/ubus/commit/aa4a7ee1d3417bc11207ad0a78d579ece7fe0c13",
"id": "CVE-2025-62526-e5076f1c",
"deprecated": false,
"target": {
"file": "ubusd_proto.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"74546532914862622555267503077275055817",
"161377153828521136478468252568561741576",
"149727988521394388583341616846558888403",
"321367897452764082946138568371455151681"
]
},
"signature_type": "Line"
},
{
"source": "https://github.com/openwrt/ubus/commit/60e04048a0e2f3e33651c19e62861b41be4c290f",
"id": "CVE-2025-62526-e941b056",
"deprecated": false,
"target": {
"file": "ubusd_event.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"165342734560883382059472744033330701176",
"94539597999276655470603054997706408942",
"269068376622752276727114398584912539888",
"66317065130523285739033741665854262417"
]
},
"signature_type": "Line"
}
]