CVE-2024-7546
NixOS vulnerability analysis and mitigation

Overview

The CVE-2024-7546 is a heap-based buffer overflow vulnerability in oFono's SimToolKit functionality. The vulnerability was discovered by Lucas Leong of Trend Micro Zero Day Initiative and publicly disclosed on August 5th, 2024. This security flaw affects oFono installations and is tracked with a CVSS v3.1 base score of 7.8 (High) (ZDI Advisory, NVD).

Technical details

The vulnerability exists within the parsing of STK (SIM Tool Kit) command PDUs. The specific issue stems from the lack of proper validation of the length of user-supplied data before copying it to a heap-based buffer. The vulnerability has been classified as CWE-787 (Out-of-bounds Write) by NIST and CWE-122 (Heap-based Buffer Overflow) by Zero Day Initiative. The CVSS v3.1 vector is AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements with low attack complexity (NVD).

Impact

If successfully exploited, this vulnerability allows local attackers to execute arbitrary code in the context of the service account. An attacker must first obtain the ability to execute code on the target modem to exploit this vulnerability (ZDI Advisory).

Mitigation and workarounds

According to the Zero Day Initiative, given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application. The vulnerability has been fixed in the sid version of the Debian package, while it remains vulnerable in bullseye and bookworm distributions (Debian Tracker, ZDI Advisory).

Community reactions

Multiple attempts were made by ZDI to report the vulnerability to the vendor via the oFono distribution list, Red Hat, and upstream Linux Kernel. The Linux Kernel team responded that since it "has nothing to do with the Linux Kernel," it should be reported to the distribution list. The vendor did not respond to these attempts (ZDI Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12819HIGH8.1
  • NixOSNixOS
  • pgbouncer
NoYesDec 03, 2025
CVE-2025-20777MEDIUM6.7
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-65105MEDIUM5.3
  • NixOSNixOS
  • apptainer
NoYesDec 02, 2025
CVE-2025-20789MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025
CVE-2025-20788MEDIUM4.4
  • NixOSNixOS
  • android
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management