Security Vulnerability Report
中文
CVE-2026-33851 CVSS 7.8 HIGH

CVE-2026-33851

Published: 2026-03-24 06:16:22
Last Modified: 2026-05-05 20:38:41

Description

Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in joncampbell123 doslib.This issue affects doslib: before doslib-20250729.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

doslib < doslib-20250729

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <stdio.h> #include <string.h> // Simulated vulnerable code in doslib context void process_input(char *data) { char buffer[128]; // Vulnerability: No bounds checking before copy strcpy(buffer, data); printf("Processed: %s\n", buffer); } int main() { // Proof of Concept: Input larger than buffer size char exploit_payload[256]; memset(exploit_payload, 'A', sizeof(exploit_payload) - 1); exploit_payload[sizeof(exploit_payload) - 1] = '\0'; printf("Triggering buffer overflow...\n"); process_input(exploit_payload); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33851", "sourceIdentifier": "[email protected]", "published": "2026-03-24T06:16:22.370", "lastModified": "2026-05-05T20:38:41.080", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in joncampbell123 doslib.This issue affects doslib: before doslib-20250729."}, {"lang": "es", "value": "Vulnerabilidad de restricción inadecuada de operaciones dentro de los límites de un búfer de memoria en joncampbell123 doslib. Este problema afecta a doslib: anterior a doslib-20250729."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-119"}]}], "references": [{"url": "https://github.com/joncampbell123/doslib/pull/65", "source": "[email protected]"}]}}