🛡️ CVE-2025-1131 on Debian — asterisk
Description
A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package. When Asterisk is started via this script (common in SysV init or FreePBX environments), it sources all .sh files located in /etc/asterisk/startup.d/ as root, without validating ownership or permissions. Non-root users with legitimate write access to /etc/asterisk can exploit this behaviour by placing malicious scripts in the startup.d directory, which will then execute with root privileges upon service restart.
Distribution advisory
This page covers CVE-2025-1131 as tracked by Debian, for the package asterisk. The fix is available in version 1:22.5.1~dfsg+~cs6.15.60671435-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2025-1131 is classified as CWE-427: Uncontrolled Search Path Element. A writable directory appears in a search path, so a planted file can be loaded in place of the intended one.
Affected software
DEBIAN-CVE-2025-1131 is recorded against 1 package.
- asterisk (fixed in 1:22.5.1~dfsg+~cs6.15.60671435-1)
Timeline and source
Published on 23 September 2025 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-1131 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| asterisk | — | 1:22.5.1~dfsg+~cs6.15.60671435-1 |
References
Similar Threats
- Unknown ALPINE-CVE-2024-53566
- Unknown ALPINE-CVE-2024-42491
- Unknown ALPINE-CVE-2024-42365
- Unknown ALPINE-CVE-2024-35190
- Unknown ALPINE-CVE-2023-37457
Site Security Check
Is asterisk part of your stack?
DEBIAN-CVE-2025-1131 is rated CVSS 7.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.