Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify AirSane HTTP listener port
-
DeliverySend POST with oversized Content-Length
-
Exploitstd::string::resize() attempts multi-GB allocation
-
Executionstd::bad_alloc or OOM kill
-
PersistAirSane daemon crashes
-
ImpactScanner service unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions are required for the primary OOM path - any unauthenticated attacker with TCP connectivity to the AirSane HTTP port can trigger the crash with a single malformed POST request. The limiting factors are: (1) AirSane must be running and network-accessible; it is not installed by default on any major Linux distribution and must be deliberately deployed; (2) impact is availability-only (process crash), with no code execution or data exfiltration possible through this vulnerability; (3) if the process is managed by a watchdog or systemd restart policy, the denial of service is recoverable and repeatable rather than permanent. The NaN/undefined-behavior path requires sending a non-numeric Content-Length value and produces implementation-defined results rather than a guaranteed crash. |
| Impact | CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately reflects the straightforward, zero-authentication, one-packet crash. The attack requires no special knowledge beyond knowing the target port and AirSane's HTTP interface, so the complexity is genuinely low. However, real-world priority is moderated by the product's limited deployment footprint - AirSane is a niche network scanner bridge used primarily by Linux enthusiasts or self-hosted home/small office environments wanting scanner sharing to Apple devices. EPSS data was not supplied; given the niche population of reachable hosts and the DoS-only impact, a low exploitation probability is expected. There is no CISA KEV listing and no POC repository link provided, though the vulnerability is trivially reproduced from the description alone. The impact is limited to crashing the AirSane daemon (availability-only), with no confidentiality or integrity consequence. If AirSane restarts automatically (e.g., via systemd), the effective impact is a repeated service disruption rather than a permanent outage. |
| Exploit ScenarioDerived | An attacker on the same network segment - or on the internet if the AirSane port is exposed - sends a single HTTP POST request to the AirSane HTTP listener with a Content-Length header set to a value such as 10000000000 (10 GB). The daemon's request parser calls std::string::resize(10000000000), the system's OOM killer or bad_alloc exception fires, and the AirSane process terminates immediately. No credentials, session, or prior knowledge of the scanner configuration are required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 11, 2026
Remote unauthenticated denial-of-service in AirSane scanner server (versions prior to 0.4.12) allows an attacker to crash the daemon by sending an HTTP POST request with an arbitrarily large Content-Length value, triggering memory exhaustion and a std::bad_alloc exception. The root cause is in httpserver.cpp, where the Content-Length header value is passed directly to std::string::resize() with no upper-bound validation. A secondary variant using non-numeric Content-Length values produces undefined behavior via NaN-to-integer conversion. No public exploit or active exploitation has been identified at time of analysis.
RemediationAI
Upgrade AirSane to version 0.4.12 or later, which applies the fix from commit 129cc3bf7258251a0a694dee7741285b59d88f9f. The patch adds a 1 MiB hard cap (kMaxRequestLength) on accepted Content-Length values and rejects requests whose Content-Length is NaN or exceeds the cap by marking the request invalid rather than attempting to allocate memory. The tagged release is available at https://github.com/SimulPiscator/AirSane/releases/tag/v0.4.12. As a compensating control for deployments that cannot immediately patch, restrict network access to the AirSane daemon port using firewall rules (e.g., iptables or nftables) so only trusted local-network hosts can reach the HTTP listener - this removes the AV:N attack surface entirely. Note that blanket port blocking will also prevent legitimate AirScan clients from using the scanner.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AirSane is an open-source C++ SANE (Scanner Access Now Easy) frontend that implements Apple's AirScan (eSCL) protocol, allowing network-attached scanners to be shared to macOS and iOS clients over HTTP. The affected component is the custom HTTP server class in web/httpserver.cpp. Prior to 0.4.12, the HttpServer::Request constructor parsed the Content-Length header by calling mHeaders.getNumber(), then assigned the result directly to std::string::resize() without imposing an upper bound - a textbook CWE-400 (Uncontrolled Resource Consumption) pattern. Because HTTP Content-Length is attacker-controlled and untrusted, any value up to size_t max could be submitted. The NaN-to-int undefined behavior path arises when getNumber() parses a non-numeric string and returns NaN, which is then implicitly cast to int, producing platform-undefined results. The fix (commit 129cc3b) introduces a static constant kMaxRequestLength of 1 MiB, threads a maxLength parameter through the Request constructor, and validates both the NaN case and the overflow case before accepting the header value.
Know when Airsane gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable HTTP service, no auth or interaction needed, availability-only impact via daemon crash; no confidentiality or integrity effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-400 (Uncontrolled Resource Consumption); the advisory also maps CWE-770 (Allocation of Resources Without Limits or Throttling).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
AirSane scanner server versions prior to 0.4.12 can be remotely disabled by unauthenticated attackers through malformed HTTP requests, halting critical scanning operations. With no vendor patch currently available, organizations must implement interim network and process controls to reduce operational risk from this denial-of-service vulnerability.
No vendor-released patch identified at time of analysis. Interim mitigations include: network-restrict AirSane ports to trusted clients only via firewall ACLs; implement HTTP request size limits at reverse proxy/WAF to reject oversized Content-Length headers; deploy process monitoring to auto-restart AirSane daemon on crash; rate-limit POST requests per source IP; monitor logs for exploitation attempts (large Content-Length values, daemon crashes, service resets).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-76482
NVD
CVE.org
EPSS
GitHub
Exploit-DB