{"id":"CVE-2024-7540","aliases":["DEBIAN-CVE-2024-7540","EUVD-2024-48447","GHSA-xj99-h8qh-p35c","UBUNTU-CVE-2024-7540","openSUSE-SU-2026:11095-1","openSUSE-SU-2026:21154-1"],"status":"published","title":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","severity":{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00297,"percentile":0.22521,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-457","CWE-908"],"published":"2024-08-05T23:53:48Z","modified":"2026-11-03T02:30:59Z","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-1080/","tags":["x_research-advisory","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7540","tags":["advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-24-1080"},{"url":"https://github.com/advisories/GHSA-xj99-h8qh-p35c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7540.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-7540","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-7540","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-7540","tags":["report"]},{"url":"https://lore.kernel.org/ofono/20241217093207.20636-1-absicsz@gmail.com/","tags":["report"]},{"url":"https://lore.kernel.org/ofono/20241217093207.20636-2-absicsz@gmail.com/","tags":["report"]},{"url":"https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=1e2a768445aecfa0a0e9c788651a9205cfd3744f","tags":["report"]},{"url":"https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=29ff6334b492504ace101be748b256e6953d2c2f","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-7540","title":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","status":"published","published":"2024-08-05T23:53:48.276Z","modified":"2024-08-08T13:46:03.21Z","cvss":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-457"],"updated_at":"2026-11-02T14:34:20.673123Z"}],"euvd":[{"id":"EUVD-2024-48447","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","status":"published","published":"2024-08-05T23:53:48Z","modified":"2024-08-08T13:46:03Z","cvss":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-03T00:56:21.653692Z"}],"ghsa":[{"id":"GHSA-xj99-h8qh-p35c","title":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This...","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","status":"published","published":"2024-08-06T00:31:20Z","modified":"2024-08-29T18:31:35Z","cvss":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-457","CWE-908"],"updated_at":"2026-11-02T14:58:08.12992Z"}],"nvd":[{"id":"CVE-2024-7540","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","status":"published","published":"2024-08-06T00:15:35.27Z","modified":"2026-06-17T08:20:24.833Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"primary"},{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-457","CWE-908"],"updated_at":"2026-11-02T14:10:17.832118Z"}],"osv":[{"id":"CVE-2024-7540","title":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","status":"published","published":"2024-08-05T23:53:48.276Z","modified":"2026-11-03T02:30:59.381471348Z","cvss":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"cwes":["CWE-457"],"updated_at":"2026-11-03T03:05:53.289262Z"},{"id":"DEBIAN-CVE-2024-7540","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","status":"published","published":"2024-08-06T00:15:35.27Z","modified":"2026-11-02T12:03:12.691017904Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-02T15:45:44.747956Z"},{"id":"UBUNTU-CVE-2024-7540","description":"oFono AT CMGL Command Uninitialized Variable Information Disclosure Vulnerability. This vulnerability allows local attackers to disclose sensitive information 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 responses from AT+CMGL commands. The issue results from the lack of proper initialization of memory prior to accessing it. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of root. Was ZDI-CAN-23307.","status":"published","published":"2024-08-06T00:15:00Z","modified":"2026-04-22T15:28:18.14288Z","cvss":[{"version":"3.0","score":3.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"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"}]}}
