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

Normalization vs. Denormalization: The Great Database Debate

When I first learned about database normalization, I was intrigued! Every table gets a single purpose. No duplicate data. Everything referenced by foreign…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 3 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

When I first learned about database normalization, I was intrigued! Every table gets a single purpose. No duplicate data. Everything referenced by foreign keys. I went hard normalizing everything, and my schemas were beautiful, on paper!



Then I tried to query them...



Joining seven tables to get a customer's order history is a special kind of pain. The database groaned. My queries crawled. And I started wondering, did I go overboard with it?






What Normalization Actually Is



Normalization means breaking data into smaller, related tables to eliminate redundancy. Instead of storing the customer name on every order, you store it once in a customers table and reference it by ID.




-- Normalized
orders: id, customer_id, product_id, quantity
customers: id, name, email
products: id, name, price






Benefits: no duplicate data, one place to update, consistent integrity.



Costs: JOINs. So many JOINs meaning immense lagging when it comes to queries.






What Denormalization Actually Is



Denormalization is the opposite, you duplicate data intentionally to make it read faster.




-- Denormalized
orders: id, customer_id, customer_name, product_id, product_name, quantity, price






Benefits: one table, no JOINs, fast reads.



Costs: if a customer changes their name, you have to update every order they've ever made.






The Trade-Off



Normalization optimizes for writes — you update one row and it's done everywhere.



Denormalization optimizes for reads — you query one table and you're done.



There's no right answer. There's only: what does your application do more of?



Transactional systems (placing orders, updating profiles) benefit from normalization. You want fast, safe writes and data integrity.



Analytical systems (reports, dashboards) benefit from denormalization. You want fast reads across millions of rows, and you control when and how data is refreshed.






The Real World Compromise



Most production systems live somewhere in the middle. You keep your operational database normalized for day-to-day transactions. Then you build a denormalized data warehouse for analytics, and you bridge them with an ETL pipeline.



That's what makes the ETL pattern so powerful. Your normalized data source stays clean and consistent. The transformation step denormalizes it into whatever shape your reporting needs. Both worlds get what they want.






A Simple Rule



Normalize until it hurts. Denormalize until it works.



Start with a clean, normalized schema. When a query starts hurting, when you're JOINing six tables in a report that runs every five minutes, denormalize that specific case. Pre-join the data. Cache it. Build that summary table.



Don't denormalize everything preemptively. But don't be a purist either. The best database design is the one your application can actually use.

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:

💬 Communitydiscussie & reacties

🌐 Naar de hoofdchat

Start de discussie in de Social Chat broadcaststream of dien hierboven een vakbijdrage in via het aanvulformulier.

Community Rating & Social Proof
⭐ Lezersbeoordeling
–
Ø / 5.0
Nog geen recensies van lezers
Was dit artikel nuttig?
0
Geef uw beoordeling
Detailbeoordeling (optioneel)
Inhoud & Kwaliteit
Bron & Geloofwaardigheid
Actualiteit
Security Briefing Gratis · 1-klik uitschrijven

Intelligence Digest gratis

Dagelijks het belangrijkste beveiligingsnieuws · kan op elk moment worden opgehaald

Verwant Story Cluster & Sources (vector AI)

1 Cluster
2 Bronnen
'King-sized' Black Friday deal: Save 79% off Paramount+
tsecurity.de 23 min. geleden
1 een andere bron
Soortgelijke bijdragen
🔍 Verwandte News

Auch interessante Nachrichten Normalization vs. Denormalization: The Great Database Debate

Thematisch verwandte Begriffe: Normalization, Denormalization, Great, Database · 6 Treffer

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

💬 Reacties worden geladen…
Trek om te vernieuwen
Widgets & Topics
Loading widgets…
Nächster Beitrag