# CVE-2026-54135: AirSane has a Remote Denial of Service (OOM) via Unvalidated Content-Length in HTTP Server

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-28)
- **CWE:** CWE-400, CWE-770
- **Published:** 2026-09-11T19:44:39.687Z
- **Modified:** 2026-09-30T19:57:08.043Z

## Who should check

- Anyone running SimulPiscator AirSane \< 0.4.12

## Description

AirSane is a SANE frontend, and a scanner server that supports Apple's AirScan protocol. Versions prior to 0.4.12 have a vulnerability in the custom HTTP server implementation of AirSane that allows a remote unauthenticated attacker to cause a Denial of Service (DoS) via memory exhaustion (OOM). In httpserver.cpp, the HttpServer::Request::content function reads the Content-Length header and directly passes this value to std::string::resize() without any upper-bound validation or safe parsing. An attacker can send an HTTP POST request with an artificially large Content-Length value. This forces the daemon to attempt allocating gigabytes of memory, resulting in a std::bad\_alloc exception and immediately crashing the AirSane process. Additionally, providing non-numeric characters in the Content-Length header leads to undefined behavior (NaN to integer conversion) due to the lack of error handling during header parsing. Version 0.4.12 patches the issue.

## Affected and fixed versions

- SimulPiscator AirSane: \< 0.4.12 (cvelist)

## Mitigation

- Upgrade AirSane to 0.4.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54135. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54135.md
Affected: SimulPiscator AirSane < 0.4.12
Fixed in: SimulPiscator AirSane 0.4.12

Steps:
1. Search this machine and project for SimulPiscator AirSane: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54135 being exploited?

There is no confirmed exploitation: CVE-2026-54135 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-54135?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-54135?

SimulPiscator AirSane \< 0.4.12.

### Is there a fix for CVE-2026-54135?

Yes. Fixed in SimulPiscator AirSane 0.4.12. Upgrade AirSane to 0.4.12 or later.

### How do I check if I'm affected by CVE-2026-54135?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/SimulPiscator/AirSane/security/advisories/GHSA-p5hv-3m79-452q>
- patch: <https://github.com/SimulPiscator/AirSane/commit/129cc3bf7258251a0a694dee7741285b59d88f9f>
- other: <https://github.com/SimulPiscator/AirSane/releases/tag/v0.4.12>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54135>

HTML: <https://flawdb.com/CVE-2026-54135> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54135>
