BreachSpiderVerified, not vibes

CVE-2021-31986 in Axis Os and 3 more products

Medium 6.8

User controlled parameters related to SMTP notifications are not correctly validated. This can lead to a buffer overflow resulting in crashes and data leakage.

Affects 4 products from 1 vendor. Facts below cite their sources.

CVSS 3.16.8
EPSS0.8%
EPSS percentile54th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Axis Axis Os < 10.7
Axis Axis Os 2016 < 6.50.5.5 < 10.7
Axis Axis Os 2018 < 8.40.4.3 < 10.7
Axis Axis Os 2020 < 9.80.3.5 < 10.7

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

User controlled parameters related to SMTP notifications are not correctly validated. This can lead to a buffer overflow resulting in crashes and data leakage.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-31986
BreachSpider IDBS-2021-GLOBAL-074322-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H
Published2021-10-05
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-122: Heap-Based Buffer Overflow

Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Related attack patterns (CAPEC)

CAPEC-92 Forced Integer Overflow via CWE-122

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A buffer overflow vulnerability exists in the handling of user-controlled parameters for SMTP notifications, leading to potential crashes and data leakage.

An attacker can exploit this vulnerability by sending specially crafted SMTP notifications with maliciously crafted parameters that exceed buffer limits, causing a buffer overflow.

Questions

What is CVE-2021-31986?

A buffer overflow vulnerability exists in the handling of user-controlled parameters for SMTP notifications, leading to potential crashes and data leakage.

What is the CVSS score for CVE-2021-31986?

CVE-2021-31986 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:H. EPSS: 0.8%.

Is CVE-2021-31986 actively exploited?

No confirmed active exploitation of CVE-2021-31986 as of 2026-09-25.

How do I remediate CVE-2021-31986?

Priority: HIGH. Advisory: https://www.axis.com/files/tech_notes/CVE-2021-31986.pdf PSIRT: [email protected]

What systems are affected by CVE-2021-31986?

CVE-2021-31986 affects Axis Axis Os, Axis Os 2016, Axis Os 2018, Axis Os 2020.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Axis","product":"Axis Os","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.