{"id":"CVE-2024-7546","aliases":["DEBIAN-CVE-2024-7546","EUVD-2024-48453","GHSA-5jvj-q6wc-xghj","UBUNTU-CVE-2024-7546","openSUSE-SU-2026:11095-1","openSUSE-SU-2026:21154-1"],"status":"published","title":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00291,"percentile":0.21864,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-787"],"published":"2024-08-05T23:54:11Z","modified":"2026-11-03T02:30:54Z","fixes":[{"ecosystem":"Debian:13","package":"ofono","fixed_in":["2.14-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ofono","fixed_in":["2.14-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ofono","fixed_in":["1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ofono","fixed_in":["1.21-1ubuntu1+esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"ofono","fixed_in":["1.31-2ubuntu1+esm3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"ofono","fixed_in":["1.31-3ubuntu1.2+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"ofono","fixed_in":["1.31-3ubuntu3.24.04.2+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.31-3","1.31-4","2.10-1","2.11-1","2.12-1","2.14-1","2.16-1","2.16-2","2.16-3","2.16-4","2.16-5","2.18-1","2.18-2","2.19-1"]},{"source":"osv","ecosystem":"Debian:13","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm3"}]}],"versions":["1.17.bzr6904+15.10.20150928.1-0ubuntu1","1.17.bzr6906+16.04.20151119-0ubuntu1","1.17.bzr6908+16.04.20151203-0ubuntu1","1.17.bzr6910+16.04.20160115.3-0ubuntu1","1.17.bzr6912+16.04.20160314.3-0ubuntu1","1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm1","1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21-1ubuntu1+esm3"}]}],"versions":["1.17.bzr6921+16.10.20160819.6-0ubuntu1","1.21-1ubuntu1","1.21-1ubuntu1+esm1","1.21-1ubuntu1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-2ubuntu1+esm3"}]}],"versions":["1.21-1ubuntu1","1.31-2ubuntu1","1.31-2ubuntu1+esm1","1.31-2ubuntu1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-3ubuntu1.2+esm1"}]}],"versions":["1.31-3ubuntu1","1.31-3ubuntu1.1","1.31-3ubuntu1.2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31-3ubuntu3.24.04.2+esm1"}]}],"versions":["1.31-3ubuntu1","1.31-3ubuntu2","1.31-3ubuntu3","1.31-3ubuntu3.24.04.1","1.31-3ubuntu3.24.04.2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19-3.1"}]}],"bundled":11},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"ofono","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19-bp160.1.1"}]}],"bundled":16}],"products":[{"vendor":"ofono","product":"ofono"},{"vendor":"ofono_project","product":"ofono"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-24-1086/","tags":["x_research-advisory","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7546","tags":["advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-24-1086"},{"url":"https://github.com/advisories/GHSA-5jvj-q6wc-xghj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7546.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-7546","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-7546","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-7546","tags":["report"]},{"url":"https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=79ea6677669e50b0bb9c231765adb4f81c375f63","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8178-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-2794","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4232","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4234","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7537","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7538","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7539","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7540","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7541","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7543","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7544","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7546","tags":["web"]},{"url":"https://bugzilla.suse.com/1218292","tags":["report"]},{"url":"https://bugzilla.suse.com/1218293","tags":["report"]},{"url":"https://bugzilla.suse.com/1218294","tags":["report"]},{"url":"https://bugzilla.suse.com/1218295","tags":["report"]},{"url":"https://bugzilla.suse.com/1218296","tags":["report"]},{"url":"https://bugzilla.suse.com/1228903","tags":["report"]},{"url":"https://bugzilla.suse.com/1228904","tags":["report"]},{"url":"https://bugzilla.suse.com/1228905","tags":["report"]},{"url":"https://bugzilla.suse.com/1228906","tags":["report"]},{"url":"https://bugzilla.suse.com/1228907","tags":["report"]},{"url":"https://bugzilla.suse.com/1228908","tags":["report"]},{"url":"https://bugzilla.suse.com/1228910","tags":["report"]},{"url":"https://bugzilla.suse.com/1228913","tags":["report"]},{"url":"https://bugzilla.suse.com/1228914","tags":["report"]},{"url":"https://bugzilla.suse.com/1228916","tags":["report"]},{"url":"https://bugzilla.suse.com/1228917","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4233","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4235","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7542","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7545","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-7547","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-7546","title":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","status":"published","published":"2024-08-05T23:54:11.442Z","modified":"2024-08-06T13:45:57.935Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T14:34:21.025267Z"}],"euvd":[{"id":"EUVD-2024-48453","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","status":"published","published":"2024-08-05T23:54:11Z","modified":"2024-08-06T13:45:57Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T01:56:49.310799Z"}],"ghsa":[{"id":"GHSA-5jvj-q6wc-xghj","title":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This...","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","status":"published","published":"2024-08-06T00:31:22Z","modified":"2024-08-29T18:31:35Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:58:08.12992Z"}],"nvd":[{"id":"CVE-2024-7546","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","status":"published","published":"2024-08-06T00:15:36.45Z","modified":"2026-06-17T08:20:25.473Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-122","CWE-787"],"updated_at":"2026-11-02T14:10:17.832118Z"}],"osv":[{"id":"CVE-2024-7546","title":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","status":"published","published":"2024-08-05T23:54:11.442Z","modified":"2026-11-03T02:30:54.6670933Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-122"],"updated_at":"2026-11-03T03:05:53.289262Z"},{"id":"DEBIAN-CVE-2024-7546","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability.  The specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","status":"published","published":"2024-08-06T00:15:36.45Z","modified":"2026-11-02T12:03:15.845866799Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:44.747956Z"},{"id":"UBUNTU-CVE-2024-7546","description":"oFono SimToolKit Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability. The specific flaw exists within the parsing of STK command PDUs. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-23459.","status":"published","published":"2024-08-06T00:15:00Z","modified":"2026-04-22T15:29:43.006454Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:18.664792Z"},{"id":"openSUSE-SU-2026:11095-1","title":"ofono-2.19-3.1 on GA media","description":"These are all security issues fixed in the ofono-2.19-3.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-06-22T00:00:00Z","modified":"2026-06-24T09:00:22.409375263Z","updated_at":"2026-11-02T16:58:38.95195Z"},{"id":"openSUSE-SU-2026:21154-1","title":"Security update for ofono","description":"This update for ofono fixes the following issues:\n\nChanges in ofono:\n\n- Reference the tracking bugs for the SMS/STK/USSD decoder security\n  fixes applied upstream across the 2.14-2.17 updates:\n  * SMS decoder stack buffer overflows: CVE-2023-2794 (boo#1218292),\n    CVE-2023-4232 (boo#1218293), CVE-2023-4233 (boo#1218294),\n    CVE-2023-4234 (boo#1218295), CVE-2023-4235 (boo#1218296)\n  * SMS PDU / message-list parsing overflows and OOB read:\n    CVE-2024-7537 (boo#1228903), CVE-2024-7547 (boo#1228917)\n  * AT-command / USSD response parsing overflows: CVE-2024-7538\n    (boo#1228904), CVE-2024-7539 (boo#1228905)\n  * Uninitialized-memory information disclosure: CVE-2024-7540\n    (boo#1228906), CVE-2024-7541 (boo#1228907), CVE-2024-7542\n    (boo#1228908)\n  * STK command PDU heap overflows: CVE-2024-7543 (boo#1228910),\n    CVE-2024-7544 (boo#1228913), CVE-2024-7545 (boo#1228914),\n    CVE-2024-7546 (boo#1228916)\n\n- Update to version 2.19\n  * Add support for PPP reset workaround for SIM7100 modem.\n  * Add support for Qualcomm RAW-IP only devices.\n\n- Update to version 2.18\n  * Fix issue with QMI and handling SMS message acknowledgement.\n  * Fix issue with handling SIM7100 modem ready detection.\n  * Add support for forbidden operator list.\n\n- Update to version 2.17\n  * Fix issue with SMS and possible buffer overflow.\n\n- Update to version 2.16\n  * Add support for QMI service request rate limiting.\n\n- Update to version 2.15\n  * Fix issue with SMS and uninitialized buffers.\n  * Fix issue with USSD and uninitialized buffers.\n  * Add support for the Test Anything Protocol.\n\n- Update to version 2.14\n  * Fix issue with STK and buffer length checks.\n  * Fix issue with SMS and buffer length checks.\n  * Fix issue with QMI and handling RAT detection.\n  * Fix issue with QMI and handling call forwarding.\n  * Add support for handling MHI network interfaces.\n\n- Update to version 2.13\n  * Add support for handling QMI PIN and Lock methods.\n  * Add support for handling QMI WWAN interfaces.\n  * Add support for handling RMNet interfaces.\n\n- Update to version 2.12\n  * Fix issue with access technology reporting.\n  * Fix issue with detecting Phonet devices.\n\n- Update to version 2.11\n  * Add support for SIMCom A7672E-FASE modem.\n  * Add support for Quectel EG916Q-GL modem.\n","status":"published","published":"2026-06-23T13:07:52Z","modified":"2026-06-30T18:24:46.175318381Z","updated_at":"2026-11-02T16:58:41.885092Z"}]}}
