Zum Hauptinhalt springen
LIVE
CVSS 7.0CVE-2026-138158 | libgphoto2 through 2.5.34 contains a stack buffer overflow in sierra_get_string_register() that lets a malicious sierra-protocol camera or USB device overwrite stack memory. When files are listed, the device can answer the file-name register with an oversized packet, writing up to 32 KB past small stack buffers to cause crashes or possible code execution.CVSS 7.7CVE-2026-138159 | edbrowse through 3.8.19 contains an integer overflow in stringAndBytes() that allows malicious servers to write past a heap buffer by sending response bodies larger than 2 GB. When a user browses to an attacker-controlled HTTP, FTP, or gopher server, the oversized body skips reallocation and corrupts the heap, causing crashes or potentially code execution.CVSS 8.5CVE-2026-138160 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ReadBackupTextLen() that allows attackers to overwrite stack memory via crafted backup files. Attackers can supply overlong quoted text values decoded into a 10,000-byte stack array during convertbackup, restore, or GSM_ReadBackupFile calls, causing crashes or potential code execution.CVSS 8.5CVE-2026-138161 | Gammu before 1.45.2 contains a buffer overflow vulnerability in LoadBackup() that allows attackers to corrupt memory by supplying an overlong MD5 value in a crafted backup file. Attackers can overwrite adjacent phonebook and calendar entry pointers via strcpy() into MD5Original when files are loaded with convertbackup or restore, causing crashes or potential code execution.CVSS 7.3CVE-2026-138162 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in ALCATEL_EncodeString() that allows attackers to overwrite stack memory via oversized encoded phonebook text. Attackers can supply a crafted backup restored with gammu restore or addnew to an attached Alcatel phone, using GSM extension characters to crash Gammu or potentially execute code.CVSS 8.5CVE-2026-138163 | Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, causing crashes or potential code execution.CVSS 4.8CVE-2026-138164 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.CVSS 9.3CVE-2026-138154 | POSTAL 2 before build 26810491 contains a sandbox escape vulnerability that allows malicious Steam Workshop mods to execute code by calling ConsoleCommand with a start file URI. Attackers can ship a batch file in a mod at the predictable workshop install path and launch it via ShellExecuteW, executing commands as the player on Windows.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

I Built an AI That Never Forgets

I Built an AI That Never Forgets — for $0 (Cognee Hackathon) By Team MindVault — Jay Bamroliya & Kaushal Karkar Every AI assistant has the same embarrassing pro…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Cloud & Tech-Stack · 5 Min. Lesezeit
Quelle: dev.to
Rubrik: Secure Programming




I Built an AI That Never Forgets — for $0 (Cognee Hackathon)




By Team MindVault — Jay Bamroliya & Kaushal Karkar







Every AI assistant has the same embarrassing problem.



You spend 20 minutes explaining your project. You close the tab. You come back tomorrow — and it has no idea who you are.



Your AI has amnesia. Every. Single. Time.



For the WeMakeDevs × Cognee Hackathon, we built MindVault to fix that — a personal "living memory" that builds a knowledge graph of your life as you talk to it. And we made it run on a completely free stack. Here's exactly how, including everything that broke along the way.









The Problem with Stateless AI



When you call an LLM, every request starts from zero. No memory of your last session, your preferences, your decisions, or your name.



The usual workarounds all fall short:





  • System prompts — token-limited, manually managed


  • Vector databases — semantic similarity only, no relational context


  • RAG pipelines — complex to build, no graph awareness



None of these give you real persistent memory.






Enter Cognee



Cognee is an open-source memory layer for AI agents. It turns text into a hybrid graph-vector knowledge store — two retrieval systems working together:





  1. Vector search — "find things semantically similar to this query"


  2. Graph traversal — "follow relationships between concepts"



That's the difference between a filing cabinet and an actual brain.



Cognee 1.2's memory API is beautifully simple — four verbs that cover the whole memory lifecycle:




import cognee

await cognee.remember("Jay is a developer from India building MindVault.")
results = await cognee.recall("Who is building MindVault?")
await cognee.improve() # enrich graph connections
await cognee.forget(everything=True) # GDPR-ready erasure









What We Built: MindVault



A chat interface where every message becomes structured memory:




























Operation What happens
💾 Remember
Text → embedded + mined into knowledge-graph entities
🔍 Recall
Question → hybrid graph+vector search → AI answer from YOUR memories
✨ Improve
Re-runs enrichment, strengthening graph connections
🗑️ Forget
Full erasure — complete data lifecycle


Plus the parts we're proud of:





  • A live force-directed knowledge graph rendered on Canvas — zero libraries, custom physics (repulsion, springs, gravity). You literally watch your memory grow as you type.


  • Voice input via the Web Speech API — speak your memories.


  • A live LOCAL ↔ CLOUD toggle — one click switches between open-source Cognee running on your machine and Cognee Cloud. No restart. Same codebase, memory_engine.py abstracts both backends behind identical async functions.




Browser (chat · voice · live graph · toggle)
│
▼
FastAPI backend ── /remember /recall /improve /forget
│
▼
memory_engine.py ── one interface, two backends
├── LOCAL: open-source Cognee + Groq + fastembed
└── CLOUD: Cognee Cloud REST API









The Real Story: Making It Run for $0



This was the hardest and most educational part. We had no budget for APIs. Here's the free stack and every wall we hit:



Wall 1: LLM costs. Groq's free tier gives you llama-3.3-70b-versatile at 6,000 tokens/minute. Sounds fine — until you learn Cognee's cognify pipeline makes multiple concurrent LLM calls. Instant 429 rate-limit errors.



Fix: Cognee ships a built-in rate limiter (backed by aiolimiter). Three env vars:




LLM_RATE_LIMIT_ENABLED=true
LLM_RATE_LIMIT_REQUESTS=1
LLM_RATE_LIMIT_INTERVAL=15






Calls queue and space out automatically. remember() takes ~90 seconds on the free tier — a fair trade for $0.



Wall 2: Embedding costs. Cognee defaults to OpenAI embeddings — which means an OpenAI key and a bill.



Fix: fastembed runs BAAI/bge-small-en-v1.5 locally. No API key, no network calls:




EMBEDDING_PROVIDER=fastembed
EMBEDDING_MODEL=BAAI/bge-small-en-v1.5






Wall 3: Vector dimension mismatch. Our LanceDB store had been created with OpenAI's 3072-dim vectors; fastembed produces 384-dim. Schema conflict, cryptic errors.



Fix: wipe .cognee_system/databases and let it rebuild with the right schema. Lesson: embedding dimensions are part of your storage schema — changing providers means migrating.



Wall 4 (Cloud mode): the silent no-op. Cognee Cloud's /api/v1/add accepts multipart file uploads, not JSON. Our JSON POSTs returned plausible status codes while storing nothing. Recall answers were pure LLM hallucination — confidently wrong, cached per-question.



Fix: read the OpenAPI spec (/openapi.json), switch to multipart:




files={"data": ("memory.txt", text.encode(), "text/plain")},
data={"datasetName": dataset},






Debugging lesson: when search says "no data found" but add says "success," trust the negative signal — verify what's actually stored (GET /api/v1/datasets/{id}/data) instead of trusting status codes.






What Surprised Us



Graph traversal is genuinely different from vector search. We stored "Jay is building MindVault" and "MindVault is powered by Cognee AI" as separate memories, then asked "What is Jay building?" — Cognee connected the dots through the graph, not by keyword overlap.



improve() is underrated. Most people stop at add-and-search. Re-running enrichment after accumulating memories visibly strengthens the graph — new edges appear between old nodes.






Try It






git clone https://github.com/jaybamroliya/mindvault
cd mindvault
pip install -r requirements.txt
cp .env.example .env # add a free Groq key from console.groq.com
python -m uvicorn main:app --port 8000






Total cost: $0. No credit card anywhere in the stack.






Final Thoughts



"Stateless AI" is one of the most annoying unsolved UX problems in AI. Cognee solves it properly — not with a prompt hack, but with a real hybrid memory architecture that you can self-host for free or scale on their cloud.



If you're building agents, give your AI a memory. It changes everything.






Built for the WeMakeDevs × Cognee Hackathon by Team MindVault — Jay Bamroliya & Kaushal Karkar. Source: github.com/jaybamroliya/mindvault

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community discussion & comments

🌐 Join the main chat

Start the discussion in the Social Chat broadcast stream or submit an expert contribution via the supplement form above.

Community Rating & Social Proof
⭐ Reader Rating
–
Ø / 5.0
No reader ratings yet
Was this article helpful?
0
Submit your rating
Detailed rating (optional)
Content & Quality
Source & Credibility
Freshness
Security Briefing Free · 1-Click Unsubscribe

Intelligence Digest — free

The top security news daily · unsubscribe anytime

Related story clusters & sources (vector AI)

6 Cluster
22 sources
CVE-2026-72109 | Linux Kernel up to 7.1.4 sparx5 sparx5_register_notifier_blocks allocation of resources (WID-SEC-2026-2852)
VulDB Updates 1 hour ago
21 more sources
VulDB Updates1 hour agoCVE-2026-72110 | Linux Kernel up to 7.2-rc1 BPF bpf_local_storage_destroy use after free (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72111 | Linux Kernel up to 6.12.102/6.18.39/7.1.4 BPF Verifier check_mem_access memory corruption (Nessus ID 339550 / WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72112 | Linux Kernel up to 7.1.4/7.2-rc3 BPF Ops io_uring io_install_bpf priv/ring_fd use after free (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72113 | Linux Kernel up to 7.2-rc3 bcm bcm.c bcm_release/bcm_delete_rx_op/bcm_notifier rx_reg_dev use after free (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72114 | Linux Kernel up to 7.2-rc3 bcm bcm_rx_setup len buffer overflow (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72115 | Linux Kernel up to 7.2-rc3 bcm bcm_rx_handler race condition (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72116 | Linux Kernel up to 7.2-rc3 bcm bcm_rx_setup race condition (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72117 | Linux Kernel up to 7.2-rc3 bcm bcm_rx_handler locking (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72118 | Linux Kernel up to 7.2-rc3 bcm bcm_rx_handler race condition (WID-SEC-2026-2852) VulDB Updates1 hour agoCVE-2026-72119 | Linux Kernel up to 7.2-rc3 bcm net/can/bcm.c bcm_tx_setup race condition (WID-SEC-2026-2852) DEV Community3 hours agoKnuth's moratorium on error reports: what his page says, why repeats cost time, and what curl and the Linux kernel did VulDB Updates3 hours agoCVE-2026-72099 | Linux Kernel up to 7.2-rc2 dm-integrity infinite loop (Nessus ID 364704 / WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72100 | Linux Kernel up to 6.12.96/6.18.39/7.1.4/7.2-rc2 dm-integrity deadlock (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72101 | Linux Kernel up to 6.12.100/6.18.39/7.1.4/7.2-rc2 dm-integrity uninitialized pointer (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72103 | Linux Kernel up to 6.12.100/6.18.41/7.1.4/7.2-rc2 dm-crypt crypt_set_keyring_key information disclosure (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72102 | Linux Kernel up to 7.2-rc2 Device Mapper dm_early_create use after free (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72104 | Linux Kernel up to 6.18.39/7.1.4/7.2-rc2 dm-pcache parse_cache_opts null pointer dereference (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72105 | Linux Kernel up to 7.2-rc2 dm-log out-of-bounds write (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72107 | Linux Kernel up to 7.2-rc2 dm era writeset_marked out-of-bounds (WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72106 | Linux Kernel up to 7.2-rc2 dm-ioctl list_version_get_info buffer overflow (Nessus ID 335743 / WID-SEC-2026-2852) VulDB Updates3 hours agoCVE-2026-72108 | Linux Kernel up to 7.2-rc2 dm thin metadata __reserve_metadata_snap/__release_metadata_snap reference count (WID-SEC-2026-2852)
19 sources
The best Xbox and PC Black Friday deals you need to know about without the fluff
Latest from Windows Central 48 min. ago
18 more sources
WIRED2 hours agoHexClad Pans Black Friday Sale: Save Up to $70 (2026) WIRED2 hours agoOura Ring 5 Is $100 Off This Black Friday and Cyber Week (2026) Latest from TechRadar2 hours agoI tried 20+ Android TV VPNs this year and these are the ones I’d save on this Black Friday — VPNs for beginners, 4K streaming, and good savings CNET2 hours agoI Love This Fender Speaker for Its Looks and Its Bass, and It’s Still $45 Off After Black Friday WIRED2 hours agoAir Purifier Black Friday Sale: Levoit, Blueair (2026) Latest from TechRadar2 hours agoBlack Friday MacBook deals 2026: even bigger savings on MacBook Neo, MacBook Pro M6, and the new PROLED MacBook Pros as Cyber Monday draws near WIRED2 hours agoThe Best Black Friday MacBook Deals Take Up to $300 Off The Verge2 hours agoA tech girlie’s Black Friday guide to fabulous nails WIRED3 hours agoThe Best Black Friday Action Camera Deals (2026) Latest from Windows Central3 hours agoBought a new PC or monitor on Black Friday? Don't plug it into a cheap power strip Latest from TechRadar3 hours agoHere’s the best Black Friday MacBook Air deal available right now Latest from TechRadar4 hours agoI've reviewed a whole host of docking stations — here are the 8 worth buying in the holiday deals now Black Friday is done Latest from TechRadar4 hours agoFastestVPN vs PrivadoVPN vs Windscribe: which cheap VPN should you buy this Black Friday? Latest from TechRadar4 hours agoWalmart's Black Friday event ends tomorrow — see the 20 best last chance deals on TVs, appliances, laptops, headphones, ahead of Cyber Monday WIRED4 hours agoBest JBL Black Friday Deals (2026): Save on JBL Flip 7 and More The Verge3 hours agoBirdbuddy’s latest smart feeders are still at their low Black Friday prices WIRED4 hours agoBest Black Friday Meal Kit Deals: CookUnity, Green Chef, & More Latest from TechRadar4 hours agoPSA: Samsung's Black Friday event is still ongoing and the retailer has actually dropped prices even further on the Galaxy S26, OLED TVs, headphones, and more
Similar posts
🔍 Verwandte News

Auch interessante Nachrichten I Built an AI That Never Forgets

Thematisch verwandte Begriffe: Built, That, Never, Forgets · 6 Treffer

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

Laden...

Loading posts ...

Laden...

Loading videos ...

💬 Loading comments…
Pull to refresh
Widgets & Topics
Loading widgets…
Nächster Beitrag