CVE-2025-1048 Sonos Era 300 Speaker libsmb2 Use-After-Free Remote Code Execution Vulnerability

High 8.8 Published Updated

Network-adjacent attackers can execute arbitrary code on Sonos Era 300 speakers via a use-after-free flaw in libsmb2 without authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-1048?

CVE-2025-1048 is a high-severity use after free vulnerability in Sonos Era 300, published on 23 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Sonos Era 300 Speaker libsmb2 Use-After-Free Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Sonos Era 300 speakers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the processing of SMB data. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the anacapa user. Was ZDI-CAN-25535.

Weakness: CWE-416

Which versions are affected by CVE-2025-1048?

It affects 2 products.

Products include Sonos S1, Sonos S2.

How do I fix CVE-2025-1048?

No fix has been published for CVE-2025-1048 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-1048 being exploited?

There is no known exploitation of CVE-2025-1048 in the wild and no public exploit code.

Sources

Also known as GHSA-h868-x49r-ph66.

Is CVE-2025-1048 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free