Skip to main content

AirSane CVE-2026-54135

| EUVDEUVD-2026-76482 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-09-11 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify AirSane HTTP listener port
  2. Delivery
    Send POST with oversized Content-Length
  3. Exploit
    std::string::resize() attempts multi-GB allocation
  4. Execution
    std::bad_alloc or OOM kill
  5. Persist
    AirSane daemon crashes
  6. Impact
    Scanner 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

AirSane < 0.4.12

Affected Packages

euvd airsane fix: 0.4.12

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable HTTP service, no auth or interaction needed, availability-only impact via daemon crash; no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 11, 2026 - 21:18 EUVD
CVE Published
Sep 11, 2026 - 19:44 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Rare
niche open-source scanner bridge, self-hosted hobbyist deployments only
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy